Self-serving bias is the tendency to credit successes to ourselves (internal factors) but blame failures on external circumstances. For example, doing well on a test is often attributed to intelligence, while failing is usually blamed on poor teaching.