There's a difference between happy to have that pay and being happy at work.
It's also not just the programming itself. I would turn down 7 digit compensation if it was going to mean intense burn out, depression and/or anxiety due to toxic management and impossible demands. The toll that shit takes on my personal life, my families lives and the way it removes my ability to even enjoy having that money for years afterwards isn't worth it.
Or, realized new hires with less experience are being payed more? Or that colleagues that are slacking are being payed the same or more?
All these feel like concerns related to pay while working. I've certainly had those thoughts and was genuinely underplayed for half my career