And what about job satisfaction, not doing an actual good job and spending miserable time doing leetcode is not going to add much worth to my day to day happiness.
I instead always suggest to do a good job regardless (note that doesn't mean doing long hours just working with care).
There are more important things than career ladder like integrity, honesty, work ethic and meaningful work.
Don't let societal policies compromise your inner values.