Consider that I didn't pay property taxes, insurance, maintenance, and squatter eviction costs for the last 25 years.
Consider that the S&P500 went up 561%.
Buying a house is not a good wealth builder strategy.
Investing in the S&P 500 is even less effort. The last time I bought a house, I had to carefully read and sign about 50 pages of legal papers. Buying stocks is just pushing a button.
But that's beside the point. Substitute Bay Area with Seattle, Los Angeles, Manhattan, or some other area of your choice. Or, better yet, diversify your portfolio by buying real estate in multiple cities. The same options that are available in the stock investment to tune your risk profile are available in real estate investment as well.
Also you are acting like the housing market can't also crash.
> If instead you rent it for 20k a year
Some good numbers, but what is missing is the result of investing $35k-$20k=$15k per year. Let's say you earn a %7 real return on $15k/year invested for 60-25=35 years.
Writing a little program:
Yields $2,218,701I would think twice about buying real estate as an investment.
Personally, I own my home because I want to use it as I see fit, but I recognize that as an investment it's a lousy one.