Fundamental attribution error
In social-psychology, fundamental attribution error is the phenomenon where people judge other people and themselves in a different way. The person tends to judge other people's good behavior as them having a good personality and the person also judges other people's bad behavior as them having a bad personality. The error comes from the fact that the person judges themselves on the context or situation and not on personality. This can lead people to assume others are bad people instead of them making a mistake.