1. For a person living alone modestly, $300k even in the Bay Area is more than enough to put away a decent chunk of money for retirement. Just run the numbers.
2. Pundits also vastly overestimate taxes, which are low in the US. The top tax rate is for anything above 400k, so the amount you pay is way lower if you make $300k/year.
3. High cost of living areas have more amenities overall which may not be factored into calculations. Things like walkability, so you don't have to pay for car, car insurance, gas, etc.
4. More public services, another amenity . more convinence. like better schools, better public transportation, nicer neighborhoods (this may be subjective).
5. Expensive mortgage is not like pissing the money away--you are building home equity.