What good does your resentment do?
Perhaps you have been treated unfairly. Perhaps you did truly deserve that promotion. Perhaps that person in your team is really after you. Perhaps everyone should really buy into your idea. Perhaps you do deserve more.
And what good does it do to act up because of that? How closer does that take you to your objectives?
Resentment is bad not because others might not deserve it – they usually don’t. Resentment is bad because it is not efficient.
The moment you feel it, do acknowledge it, do talk about it, and then do move on.