Magnanimity
What it means
Generosity of spirit toward a rival, critic, or person over whom one has an advantage.
Reach for it when recognizing gracious conduct when retaliation, boasting, or pettiness would have been easy
Her magnanimity was clearest when she invited her former opponent to help lead the project.