https://www.bloomberg.com/opinion/articles/2021-05-19/wait-c...
Since the decision about where a large company's headquarters is located is typically made by someone on the ultra-rich end of the spectrum, they're optimizing for things which don't apply to most of their workforce.
Cost-of-living should be lower, but I think that's important to view in more specific comparisons based on exactly where you're going to live — someone coming from San Francisco is going to find almost anywhere in the country to be cheaper but California is a big state there are many places where the comparison is going to be much less stark, and might end up being a wash depending on your job prospects and quality of life factors.
Only for the upper-middle class and rich.
https://www.bloomberg.com/opinion/articles/2021-05-19/wait-c...
larsiusprime had a good analysis [0] that gets into some of the details.