When those who work around you do really good things, how do you feel? Does it depend on who gets credit? Are you glad for those who do good things and glad for those who benefited as well?
What if you did a lot of the work, and got little or none of the credit? How does that sit? It’s likely all of us like the “pat on the back” or some recognition of our contribution. Yet, there will still be those times when we get overlooked, either accidentally or purposefully. Then we have to decide on our reaction to the lack.
Whether or not we get credit, those around us will know what part we played. They will also know if you had a part in making it possible for them to receive recognition. If that can be enough for you, then you will enjoy the success, even if it seems not to be yours.