Church is one option
Just GP described the concept without naming it.
If you have an amazing personality then you will want to hang out all the time and have lots of sex and everyone will oblige you because you’re fun to be around. It doesn’t matter what the context is. Yeah, if you’re one member of a 25 person Inuit tribe, you won’t be lonely ever. But just because a bunch of people in the USA are narcissistic idiots who are intolerable to be around doesn’t mean anything about the way the world is going.
Is this example conflating 'alone' to the seperate issue of him being unable to find a sexual partner?
Also generally I'm sure there will be outlier examples of 'see he was alone in the past' but I feel we have to approach these from a 'generally' view to understand the bigger picture as examples of one may be good for context, but can tend to be used as a confirmation bias of sorts against a bigger picture.
Stop intelligent machines!
A different path is for sufficiently advanced technology to help humans connect with each other and strengthen those connections, like organizing playdates for children (of course subtly enough that it doesn't come off as infantilizing). I don't think that can coexist with the attention economy though.
>want to hang out all the time and have lots of sex and everyone will oblige you
Same people.
You have to work at it (though to be fair, it seems every religious group will have the person who will start conversations with anyone) - but you have to work at it anywhere.
One recommendations I'd make is don't look for "age group" things - because this will often overlap with people looking for dating partners, and that can be all sorts of confusing and messy. Be open to joining or working with groups that contain people older, younger, or of all ages.
Religion might force you to church where you meet most of the community regularly. It goes far beyond just the purpose of religion. You'll know about every life event of every member, learn about businesses in the community, might meet new friends or even a spouse. The only social institute that comes close is school but school is not forever.
To stay in touch with friends, you were forced to actually go to them.
To look up information, you were forced to go to a library.
To discover music, forced to go to a record shop.
To eat whilst not cooking, forced to go to a restaurant.
Top enjoy photography or whichever other hobby, forced to go to a hobby club.
So without religion and post-school, as you maximally use all technology and conveniences available, you're now not meeting anybody. Unless you purposefully organize it. The defaults changed.