I once got denied absolution in confession because I was clearly unforgiving of someone who had wronged me. Basically, I said “I am guilty of hating [person], but he deserves to be hated!”
That my friend, is not contrition. Only a contrite heart can be forgiven.