Okay, so you were talking about gratitude. Yes, gratitude counters resentment (you call it "escaping" it). Yet my point was that it is not a cure for resentment; merely a palliative.
Life is a constant stream of potential causes of resentment. Gratitude is not just a palliative for resentment, but also a preventative against future resentment. If you're heavily focused on how grateful you are for the amazing life you live, you will be less likely to fall into a cycle of resentment about the setbacks.