Anecdotally, as a straight male in his 30s living abroad in a foreign country, I can say that the breakup and isolation during Covid lockdowns, plus the departure of a few close friends, has depressed me to destruction, that even therapy didn't help much, and I seem to get worse by the month.
And I thought I was an introvert who loved to spend time alone. Which I do, but turns out I also need social interactions to survive, and since I always had it at my disposal, I only noticed the deficiency once I lost it and couldn't get it back.
While I do take part in a couple of local regular sports group activities after work, making strong friendships or relationships from those has proven tough to nearly impossible. Seems like nearly everyone in their 30s with a full time job, already has kids or a romantic relationship or has a long term friend group from their youth that occupies their free time so they can't suddenly accommodate an extra +1.
I can't see it getting better. I feel like a meatbag drone grinding away on shitty codebases in front of a screen 8h/day, just to pay rent and taxes for the next 40 years and die alone after, and compensate for the loneliness by traveling and sports. Only comfort is I don't suffer any grave physical illness so at least I got that going for me.
Maybe I should switch careers to something lower paying that has more human interaction and a better female/male ratio than SW development.