You have enough people that even niche cultural offers will find an audience.
There's a second order effect I observed which I feel isn't discussed enough: when it's assumed that you can only walk/cycle or perhaps take the bus in an area, suddenly there's an additional premium imposed on space.
The net result is accelerated gentrification.
Anecdata: just about anyone I know from my generation was priced out of those walkable districts with access to public transportation they grew up in - simply because investors are aware of what is in demand, so they put all their money there and not into places you can only reliably access via car.
What follows is people buying not homes, but apartments built in the middle of buttfuck nowhere and driving to/from there, because that's what they can afford.
A net negative, but here we are.
I'm all for livable cities, but what good is it if the only ones who can afford it are the 1%?
The solution to that is not "let's build more undesirable neighborhoods so prices are not increasing" but to change zoning regulations so more dense neighborhoods can be build to satisfy demand!
Of course, I'm sure there are plenty of people who live in a city and don't like it, and also plenty of people who would prefer to live in the city but cannot afford it or their circumstances keep them somewhere more remote.
If my circumstances change so that I do not enjoy it anymore, or if my material needs change, then I'll adapt appropriately, whether it's moving to a different neighborhood, to a beach town, to the mountains, or to the moon.
Pretty much, you get everything from board games to Linux meetups, and then like IRC channels, they usually collapse through drama or mismanagement and then a few more pop up lol
Sure, this is suboptimal and those who opt to live further away and drive everywhere lose time and money but often they're not even eligible for a mortgage within city limits, so they don't have much of a choice anyway.
Such cities can still be walkable - I grew up in one so I should know.
But I also lived on the outskirts of a very dense (due to historic architecture) city and would never want to move any further inward, because that place was hell.
Bottom line is density is a bad target. Livability is a good one and density doesn't equal livability.
Actually, my whole point is that there exists a level of population density which is actually worse than detached housing.