Living in a desirable place has always been popular. And its popularity fluctuates. Those who rent rather than buy are most exposed to those fluctuations. Those who buy are most likely to profit.
That's how it works. Nothing new about it and there's no way to change it, except perhaps stopping the Federal Reserve from creating bubbles with cheap money.