Rolling with the punches
Remind yourself that workplace disappointment is (hidden) part of your work contract. Don’t vent to colleagues when get punched. Conduct self-evaluation by asking: why did this happen? and how can I prevent this happening again? Come up with a plan of action and implement that.