I must admit when I was younger I was a bit like this. I would fall into resentment and let people bother me over the long term but that only ended up harming me more than it did them. These days I will let a lot go, mainly because I don't care enough what they think and am more than comfortable with who I am but on the other hand, I'm also far more likely to just confront someone and escalate the situation immediately if they really push things too far.
That's been working out well for me so far.
I can hold a grudge longer than anyone else on the planet. I finally figured out how to choose not to so I don't anymore. I just move on. No point in letting someone live in my head rent-free.