When one does another person an injustice, in some mysterious way it does one good to discover (or to persuade oneself) that the injured party has also behaved badly or unfairly in some little matter or other; it is always a relief to the conscience if one can apportion some measure of guilt to the person one has betrayed.
"Beware of Pity". Book by Stefan Zweig, 1939.