I think you've hit on something important here. Without getting into the merits of religious belief, the rapid increase in loneliness seems to be strongly correlated with the rapid decrease in religiosity. There just aren't any institutions prepared to replace church communities.
For my part, I get more than enough socialization through my church community: I actively turn down opportunities to socialize because I'm saturated already.