Personal experience, FWIW: Once you have enough experience and a large enough network to generally not worry about jobs/starving, it makes sense to find more fulfilling jobs. There are plenty in tech, and if you are good, you can be selective. If you are really good, your former colleagues will constantly be telling you about new opportunities and you can be very selective.
I ended up doing a startup full time (3yrs) for a cause I liked (diagnosing TB, with the goal of giving away the product to lower income nations.) Product success, market failure, but personal success and i'm very happy I did it.
I was very selective with my current employer as well -- I really chose an engineering team I could respect and learn from and I'm happy about that.
I realize not everyone has the ability to be selective (perhaps luck, skillset, geography), but if you do, you can be very happy.