kind and generous towards somebody
magnanimous - generous
If you are ‘magnanimous’, then you are understanding or benevolent towards somebody, usually a person who you have defeated or has treated you badly. It implies being a gracious winner, or being the bigger person in a dispute or argument. The word only has positive connotations.
I could have made things very difficult for David when he left for a rival company without giving notice, but I instead decided to be magnanimous about it.
In what was a wonderfully magnanimous gesture, Andrea shared her prize money with me after beating me in a closely contested final.
The boss’s decision to drop the lawsuit is a testament to her magnanimity and unwillingness to bear grudges.