I think some people want to blame liberalism and socialism when they depict big cities that are too expensive to live in. Because they're run by Dems, I guess?
Which is funny, since they are also the source of high-wage merit-based jobs, and a housing market answering to good old fashioned supply and demand. If so many people are fleeing these cities, those costs would come down, but historically they don't. Enough people want to live here to keep the prices up. California cities may extract regulations and raise taxes for social services, but it's hardly a socialist mecca around here. Pretty much the opposite.
So despite the Democrat leanings of most big cities, they're victims of the wealth disparity that liberals decry and conservatives ignore. People filling the lower income rolls, not just restaurant workers and gardeners, but our teachers, police, firefighters, and small business owners can't afford to live in the places they work, moving farther and farther out into the still expensive bedroom communities and creating horrible daily commute traffic.
There have been proposals to create subsidized housing for public school teachers. That could be a start. You can put a price on a home or a gallon of gas, but if we really value quality of life there are a lot of interconnected factors in play when we talk Cost of Living.