gloating
Savoring or displaying satisfaction at an advantage or another person’s setback.
In a sentence
“The captain’s gloating over the other team’s defeat spoiled the celebration.”
Change one detail
gloating
After your rival loses, you repeatedly remind everyone that you won.
Often has a conspicuous or self-satisfied quality.
schadenfreude
You quietly enjoy your rival’s loss without saying a word.
The private pleasure need not become a display of triumph.
Read the entry for schadenfreude