You have just committed what is called a fundamental attribution error. When we explain people’s behavior we do that by using external and interior factors. When we commit a fundamental attribution we unduly assign some internal factor such as selfishness instead of some external factor as maybe someone being late and we wouldn’t do that when explaining our own behavior.