I used to related with what the OP says and if he’s under 35 makes sense to jump to another adventure.
Anyways, a friend of mine told me the complete opposite than the OP after not being selected to a promotion 2x: He stayed competitive enough to the market in case of any issue, but at the same time he slightly moving to the “Dead Sea” existence where the tenure created a small co-dependence between himself and its employer.
His employer knows that he’s working at a discount in comparison to offshoring his job, but at the same time even being a L4 like can enjoy a lot of free time and agency to know when and where to throttle his productivity.