Remember when your ego begins to takeover no matter your station in life or position in the hierarchy you are just a placeholder. Everyone is replaceable. Someone is always ready to fill your shoes.
“Knowing that he was only a placeholder helped Marcus [Aurelius] prevent his position from going to his head.” -Ryan Holiday, Lives of the Stoics, p. 291.
Does that mean we shouldn’t take our positions seriously? No. It means like Marcus Aurelius we shouldn’t let it go to our head.
We should do our job to the best of our ability, not for recognition but because it is our duty. We should be humble. It is humbling to realize, if we leave, someone will be right behind you to fill your role.
When it is time to leave, and there will always be a time to leave, you should leave your position better off than when you arrived.