Well, yes. See above about the urbanism death spiral. Large cities suck the life away from smaller cities.
This is the direct consequence of allowing dense housing, and it's made _worse_ by allowing abominations like SROs or "microapartments". And then bunk beds (already happening in Singapore).
The correct action here is to STOP doing this. Prohibit building dense housing and, more importantly, dense office space. Provide tax incentives for remote work and for offices outside of city cores. Ideally, start un-densifying cities by creating more park spaces in place of dense housing.
There are no other options. Like smaller cities with a lower cost of living. The big cities just suck away life from everything.