You assume the person living in the expensive city doesn't benefit from doing so. Folks living in San Francisco choose to do so because they find the trade-off worthwhile. I choose to live in a relatively high cost-of-living area because I love the benefits it has.