If, on the other hand, you got a tax break for living in the high-cost Bay Area, then you could buy a house to build a lot of wealth and sell it later to retire someplace cheaper. Not exactly fair to people who live where salaries are lower.
The proper way to make things fair is to tax landlords on the land value [1] of their properties. They are the ones pulling in all the unearned income in high cost areas.