I think that black and white thinking also applies when people judge others, no just how one judges himself/herself. For example, one could do many good things with/to others, but at the first mistake he/she would be labeled as a bad person and would be ostracized. This is particularly true in some cultures where the sense of community is still strong. The mind seems to work that way