Just throwing it out there: most libraries do have one late night day a week, there are probably a million people on earth right at this moment that would love to play a tabletop game with you or take a zoom class, every single area has clubs/associations/charities that would love some new faces.
Don't expect the universe to give you companionship. You need to do it yourself
I read something about the Carnegie libraries in Pittsburgh basically doing this way back when. Apparently it was popular for people to get off work, go home, clean up, eat, then head out to the library. There was stuff there for kids like story tellers, tutors, art workshops, and more. For adults, quiet places for people who just wanted to read, places for study, areas for people to discuss various subjects, classes on various skills (painting, pottery, carpentry, etc) and the ground floor main area had a general social space. They served coffee, food trucks set up outside, and some inside. It was a popular place for people who didn't want to go to the bar.
That's called a community centre and used to be pretty common. Growing up we had multiple that were run by the local Catholic organizations, and I think there were also some that were run by the youth branch of the various political parties.
But a key component of such a place being success is having a certain kind of open culture. There's countries where if you throw 10 strangers in a room and return an hour later, you'll find 10 strangers on their phone, having not uttered a single word to each other.
Many libraries in Denmark do stay open to 9pm. They even have tables and invite people to hang out there. Although I må not sure if you're allowed to drink or eat there they do want you to just hang out. They have boardgames that you can borrow or play there and they even have boardgames nights where you can play against other guests. Some libraries even have gaming computers and playstation 5 with sofas and all. It's pretty cool! Some of them also let you borrow things like baking forms, instruments, and tools!
Our library hosts lounge night and a game night. Lounge night is lofi music and people enjoying themselves with games, movies, books, larping, and writers sharing. Poetry night and writers block aren't personally my favorite but there's those as well.
Here in Finland a lot of libraries are open pretty late (scan card and PIN to access, free of charge). Some close because of vandals, but it mostly works.
Not much socializing, though. Mostly people choose the drinking in domestic isolation.
It's a group activity that everyone can enjoy! Get to really know your mail carrier, and learn how to get that 60% discount at the pizza parlor, all in an exciting and lively atmosphere!
when i was a kid i would go to the library all the time until 10, which was late for me at that age. i wasn't a big reader, but it was a perfect excuse to escape family.
sell coffee etc. to pay the bills. all the cool kids are doing it. Libraries are looking for more visitors. Install a Starbucks with tables near the gaming PCs. books and chairs in the corner. Checkout counter is already done, Re: bars, Why do they all have parking lots? AA without the chanting.
I’ve got a lively tabletop store that has a ton of tables. It’s got stuff that interests me on multiple nights a week, and a chill regular crowd.
Then I’ve got an evening running group. Admittedly they are about to close down until next year soon.
I do admit I’m less of a night owl nowadays, and more about spending my daytime hours doing active activities. Those hours are so slambooked I am putting things in a calender organizer so I don’t doublebook my time. The nights where I’m alone I usually feel pretty beat from the daytime, and ready to just relax at home contently.
I suppose what I’m saying is that part of the blame lies on society, but some of it is learned helplessness. Making a witty Twitter post might help vent but it won’t make new social hubs fall out of the sky for you. If you’re itching to do things then go do things. Everything I’m currently into, I started out by just showing up on my own and making friends there. If you’ve got friends who only socialize by drinking at bars, don’t be shocked when the only activities seem to be bar oriented.