fundamental attribution error
I try to remember this when someone’s behavior offends me. Sometimes, it’s not them, it’s just their situation.
Notably, we tend to give ourselves grace for our behavior (“I was late because I was stuck in traffic, not because I’m selfish”). Psychologists might suggest we extend this grace to others.