The social contact you have at work often feels forced and artificial - you can choose your friends, your colleagues not so much.
I did choose them, luckily I got to audition them from around 300 people I've been forced to interact with through over my career during the past 10 years. Not only do I get to know their characters well because I can decide if I like them or not and find out if they're trustworthy through working together I also get the extra benefit of being recommended for jobs through them.
How on earth am I supposed to do that though clubs? Presumably you mean sports clubs because no sure much else than that exists for adults, what if I want to make friends with people who are not interested in sports?
But in my city Meetup.com has a huge amount of clubs and groups for basically anything, and I'm in Barcelona so the city isn't even that big and it's not all English-speaking (which I guess may be more likely to use Meetup).
There are sometimes local Facebook groups for stuff as well, I went on day-trips to various places like that.
I know my colleagues who are into tabletop games and D&D go to those groups, I personally just went to language exchanges and hiking/tourism groups. There are even groups for local video gamers etc. as I guess it's nice being able to meet in person too.
For music specifically there are local scenes. If you go to local places consistently, you'll see some of the same faces. Etc.
I like programming, but I would find it very boring to only be friends with people in the same industry as me.
If you have been able to draw the line and log off at 5pm, good for you, but that's not the experience for a lot of people.
But I'm not working extra hours every day, and given the time I save on commuting and lunch hour and being able to do various chores during the day - I think it's still a significant win.
That's a personal issue though. It seems backwards to insist on an in-person work environment because someone doesn't have the personal discipline to log off at 5pm on their own.
WFH may be good for introverts with good social skills. It's awful for shy extraverts (which is a less-than-ideal combination to begin with).
If you can't speak to people unless they're forced to, that doesn't mean that you need to make it so that everyone else is forced to because otherwise you're uncomfortable.