I am pretty sure you missed the entire point of their comment. The commenter was not speaking about their own current comp, but the current comp vs quality vs entitlement within their direct reports. It’s hard to look at low quality employees making large salaries as a leader and not be dismayed, disappointed, and discouraged when the entitlement and whining happens. A lot of employees act like children and that is not ok or justified. That is what is immature, not pointing out that people commanding six figure salaries should maybe act like adults and actually provide six figures of value for their compensation.
After a couple of decades managing developers and engineers I specifically left management and now refuse to take on any role that requires direct reports just because the entitlement attitude in tech is so bad nowadays. “Management” gets a bad rap here on HN, but to me, they are real hero’s and doing a shit job.