$1-$2M after 6 years of working at $100k isn’t really much either in the Bay. (Which is the only place you’d get that.)
Even that averages to a senior Eng salary for the very very few founders who get there.
This has to be tempered by other realities - no social life - working 80 hours a week easily - risking personal finances - health problems - good chance of divorce / no deep relationships
Starting a company is no joke.
Very few get to series B/C.