It really depends on skill and motivation. If your motivation is only money you are unlikely to succeed. Personally I am a big corp dev and making >600k/year on track to retire at 40. But you do not get there by trying for the salary. Try to be good, no exceptional, at what you do. Become valuable and you will be paid. But your motivation should be your craft and not money. I believe the same applies for startup foun…
I've significantly increased my salary, job happiness, and working conditions by actively trying to shape my life and my job(Changing jobs as necessary). I've significantly cut down expenses. Resulting in me being fairly well off.
Being fairly passive about may work, or may not work. I know plenty of brilliant people who love their work but get paid terribly for it.
My strategy is actually fairly reproducible, instead of relying on luck.
I've also found that all else being equal(same industry etc) salary is the number 1 indicator of respect on the job.