honestly, that’s terrible advice. Anyone working at a big tech (or even not that big) for a few years should be able to save enough money to get some freedom to change jobs, even in a bad market. Being jobless might be soul crushing if you don’t prepare yourself but staying in a place where you get burnt out is a lot, lot worse, having been in both situations.
For me the best advice is to not think you are rich just because you are making >150-200k/year. Save money and live frugally