I thought I was going to hate this comment but turns out.... THIS! This is what we've been telling you.
If men want to address loneliness, then they need to get out and socialize. You need to stsrt putting value in community. There is no other way. Stop looking at women's bodies to be magic elixirs to soothe that pain or for women to fix the problem for you.
My only criticism, which is not really of this comment as it's anecdotal and thereby naturally limited in scope, is that the socialization must be community wide or you will still have problems.
If you want your communities to invest in you, you need to invest in them to. Social skills are the way to get there. That's the only way to get there.