in Cognitive Biases

Self-serving bias – perceiving oneself responsible for desirable outcomes but not responsible for undesirable ones.