Attributional style refers to an individual's tendency to explain the causes of events or behaviors, whether positive or negative, in a specific way. It involves attributing outcomes to either internal (personal) factors or external (situational) factors.
This is a cognitive bias where individuals attribute their successes to internal factors and their failures to external factors in order to protect their self-esteem.