It is not a generalizable answer to this problem.
Telling someone who can't afford to move to the city that they just need to move the city to solve their health problem is a waste of time for you and them.
The answer applicable to the government is to build better cities.
The answer is never stay in the suburbs but take drugs the rest of your life and spend the end of your life miserably unhealthy. You’re free to do that if you want to, you just can’t pretend it’s healthy.