Answer:
The answer is self-serving bias.
Step-by-step explanation:
A self-serving bias takes place when a person believes their own success is due to internal factors, and failure is attributed to external factors. This is believed to be done in order to protect or improve one's self-esteem.
Self-serving biases can be found in many different environments, most commonly in school, the workplace and sports.