It was possible to build tools that increased human happiness and connection, but by definition such tools would ultimately lead to each fulfilled person reducing engagement in the interest of actual face to face connection with others. There is no profit to be made in producing such a utility. It doesn't help that the human brain is addicted to novelty, meaning that a technical utility that did this cannot compete with utilities that are work primarily towards engagement.
Ultimately, we need critical faculties, emotional intelligence, and real community to negate the negative effects of engagement driven tech, but these are extremely difficult to develop when this technology is already driving the population towards the easy path: categorical "reasoning", emotional content, or just feeding vanity.
Ultimately, I think we had a small window when Facebook did a study in 2012, where it manipulated the emotions of a number of people (60k) and wrote a paper on it, to declare this practice of algorithmically managing content to be illegal psychological human experimentation.
We didn't, and now I really do feel we suffer under its shadow.