a related issue that i struggle with is having to choose between high paying jobs which are actively damaging the world vs being unemployed and working on open source software. I have been cycling between the two over the past 5 years.
So i earn a lot of money in a short period of time doing something obviously evil, then spend a year or two living very frugally and enjoying my life.
There just doesn't seem to be an obvious middle ground where you can get paid less to work on stuff that makes you happy. I am aware that these jobs exist, but they are competitive and rare.