What is a real-life example of self-serving bias?

A real-life example of self-serving bias is how we explain work-related decisions that personally affect us.

More specifically, when an individual is promoted at work, they will attribute this to internal causes, such as their ability or work ethic. In contrast, when the same individual is fired, they will attribute this to external causes, such as an unfair manager or bad luck.