In a perfect world, leaders would encourage other leaders in an organization to perform. We don’t live in a perfect world, however.
I remember working for someone for a company I loved to work for. At one point, I made a comment that I would eventually be the VP of the company. That comment got back to the owner and I was promptly let go (I don’t know if being a contractor whose contract was terminated is considered being “fired” but it felt like it.)
I couldn’t understand why being ambitious, loyal and wanting to grow within an organization was a “bad” thing. Now I do.
Some leaders are threatened by other leaders taking their jobs or making them obsolete.
Don’t stop. Keep moving forward. If this is the situation that you find yourself in, then you’re working for either the wrong leader or company.
That’s what only you can decide.