This is also my experience. Being a go-to person led to 5 separate instances where a clearly underqualified person was promoted above me, with the company outright stating that I’m too valuable where I am (but also when I asked for more money, I wasn’t THAT valuable).
Then when I left they replaced me with 4 people cause losing a decade of deep dive rather than topical knowledge hurts.
Had they promoted me, I could have just trained a new person.