Paul David Tripp said this quote

Harboring bitterness against people is actually confessing their sin to myself, over and over again. Anger is akin to confessing their sin to God, dissatisfied that he hasn't done something and placing myself in his position as judge.