What did he mean by saying "I'm an asshole and you are the decent one"?

The person I'm meeting told me one day via texting that he is an asshole and I'm the decent one.

The story behind was that he used to joke about things that aren't funny at all and I got offended by that. Then I joked once about such things just to make him feel my pain and the next time he thought I was joking again, in fact I wasn't... I told him "I'm not that cruel to joke about that again" and he said to me those words.

Does he said that to excuse himself?

What did he mean by saying "I'm an asshole and you are the decent one"?
Post Opinion