Some people do things for other reasons than maximising their monetary gain at every step; there are all kinds of motivations out there including liking solving problems
There's also a huge spectrum between "pick a job that's good for your career" and "at every step of the way I'll do whatever is best for me, the company and my coworkers be damned"
If you can't see that, just be open with it in the interview process