Most developers have lifetime earnings of that kinda figure. Earning a million dollars total (adjusted for currency differentials) over a decade is an absolutely insanely huge number. that is closer to my expected lifetime earnings than decade earnings. 300-500k$ of value in total in a decade is more realistic for an average value, with a small company to large company difference being maybe 100k over a decade.
Developers at a large tech company in the US can easily earn 300K per year. This is US specific, but working at one of these companies isn’t particularly stressful.
All in my location, country, etc.