I think there's a real difference depending if you "fit" where you are. In a city, no matter how weird your interests, you'll likely find a group nearby that is also interested in that.
In a small town or suburb if you're the "odd man out" it can be much harder.
But when I "lived in the city" as a younger man, I was often traveling out to the suburbs where friends lived as they had the space and the things to do.
It's easy to hole up in your suburban home and never socialize, but I know a lot of people who live in dense cities and never leave their house unless absolutely necessary either.
Living in a suburb doesn't mean you're isolated from friends, as long as you live within a reasonable drive. It does mean everyone has to plan ahead and allocate a little more travel time, but that's not really a big deal when people are in their 30s with more obligations, work, and possibly kids.
Living in the suburbs actually creates a different set of opportunities because now you have more space and likely a yard, too. Cramped parties in someone's apartment are fun when you're in your 20s, but in my 30s it's much nicer to head to someone's backyard BBQ or house that comfortably holds 40 people inside. There's also room for kids to play, room for outdoor games, and other things that weren't happening at parties in my 20s.
If you're trying to project your exact current lifestyle on to suburban living then it's going to be disappointing. If you instead look at it from the perspective of being different rather than worse, you start to the possible upsides.