But after a couple years in the industry? A high salary goes really far. Note that "high" means different things to different people, but choosing a 300k/year job over a 200k/year job is often a good idea, even if it's to do stupid shit and not change the world. That doesn't mean you should choose misery over happiness for money, but it's rare that the choice is that stark.
Most tradeoffs are ill-defined and uncertain when you're choosing the job. Salary, on the other hand, is directly comparable, and it translates to something very real and concrete.