$200k? Do you live in a place where this is considered a bad salary?
https://www.zillow.com/santa-clara-ca/apartments/1-bedrooms/
The cost of pretty much everything around here reflects that cost of living. Businesses have to pay workers enough to allow them to live in the area.
Today I'm giving a training to 3 people, each paying 2600 for this training. It means this week they get billed 7800 in total. If you do that for 30 weeks (not even a full year), you get to 234000.
15 years ago, my team leader was already doing $15K month as salary, and it was a startup in Sophia, not Google, and a long time ago.
So it's all possible, but indeed, not the average situation. The median dev is underpaid in France: