Using that number means I'm roughly at par with a FAANG salary given my level. But it's not like the FAANG engineer is setting fire to that 240k. Depending on where you are in your amortization schedule 20-80ish % of your payment goes to principle. And my 500k house is probably going to be worth 800k in 10 years while the bay area house would be 4.5-5 million. When you take that into account I'm probably at 70% of an equivalent FAANG position.
The more important thing to look at here is risk. FAANG salaries and bay area real estate prices are out of whack with the fundamentals. If you get in and out without the bubble bursting you're sitting pretty. If it bursts or even has a 10% correction the FAANG engineer is way behind.
[1] https://sfbay.craigslist.org/sby/apa/d/cupertino-3-bedroom-3...