We have learned over the pandemic that housing "near work" isn't as important as it was. Opportunities to work remotely have/will hollow out places like San Francisco and New York City. Employers who resist working from home will be looking harder for good employees.
The average price of a two bedroom in Manhattan has dropped from $ 4250 to $ 2988 in one year ! All indications are pointing to remote work most of the time with 2-3 visits a month to the office. So you can find cheaper housing further out. The people who can't be remote will have cheaper rent in the city.