Richard O'connor said this quote

We judge ourselves by our intentions but others by their actions. We tend to think other people's mistakes are caused by character flaws while our mistakes are due to situational factors. I had a headache on the day of the examine, but he's not very smart. Then we have the opposite. Our good behavior is attributable to fundamental traits while other people's is temporary and situational. I'm returning this wallet to lost and found because I'm a moral and ethical person. Others do so only if they're seen picking it up.Thus we own our strengths and disavow our weaknesses. This is a big obstetrical to overcoming self-destruction behavior, it justifies all our attempts to deny or put off our need to change and rationalizes the consequences of our actions.