This and your previous comment really resonate with me. Even if you're solving interesting problems, it's hard to stay motivated in the long term if you don't feel like you're providing a useful service to other humans and in some way making their lives better. Even though personally I certainly don't have more money than I know what to do with, a deeper purpose is much more valuable than doubling my salary.