I think it’s the self-righteous justification you hold by feeling wronged.
Hard to just logic one’s way away from thinking you have the higher ground.
But yeah, it is hard to still hold an active grudge when you also feel the other person has had some comeuppance