FWIW, aside from "satisfaction", the other pieces of my "compensation pie" are "salary" (+raise/bonus), "benefits", "time-off", and "investment options".
In the past 2 years, I've been at 5 companies and taken 2 pay cuts. All voluntary.
My “compensation pie” is made up of many pieces. Only one of them is salary. The piece of the pie that was sorely missing was "satisfaction" ("happiness", "contentment").
After 2 years, I finally found a company that *wants* me (my skills and what I have to offer), and actually allows me to contribute. This helps fill my "satisfaction" piece of my "compensation pie”.
You need to figure out your own pie pieces, and the size/importance of each.
Meanwhile, I'm confident enough in my abilities that I'm not too worried about future salaries.