Your starting salary is the biggest influencer of your total lifetime earnings. That’s why I mentioned grads: it sets a benchmark and also is relatively commoditised and can be more directly compared.
What I’m saying is that “what you’re worth” is heavily influenced by the area you live, and a $X in SF developer is only worth $X in SF.
They are not worth $X in Thailand; you are welcome to try and get SF salaries for a remote role and see how that works out.
I think you’re speaking from a myopic high-CoL view. High performing FAANG engineers take substantial paycuts to work in lower CoL areas within the US, or overseas, all the time. We get a lot of them here in Australia.
As another example, leading machine learning researchers in China are making a fraction of leading ML researchers in SF.
If you’ve had a look at who’s leading in ML research these days, you’ll realise the disparity.