"Go talk to real people" is easier said than done post-Covid. I'm in a European university city where even young people are complaining online of a dearth of opportunities for in-person socializing -- there is a good amount of cultural events and cafes to go out to every night, but it has become taboo to talk to strangers there even among young people, and a single middle-aged man's attempts to socialize anywhere would not be welcomed. Even people attending the remaining hobby meetups are finding merely practice of the hobby, but not any meaningful social contact alongside it.
Social media is poison, sure, but detaching from it doesn't mean you can get an IRL social life to replace it.
Talk to older people then. I am not “young” but I still find it easier to talk to people older than myself (retirees on up to senior geriatrics)