Self-Serving Bias

While we attribute others' behaviour to character, we tend to explain our own behaviour in ways that protect and enhance our self-image. This is self-serving bias: the tendency to attribute successes to our own skill and effort (internal, controllable factors) and failures to external circumstances (bad luck, unfair markets, the behaviour of others).
Research by Dale Miller and Michael Ross in 1975 established the pattern: people take credit for good outcomes and assign blame for bad ones to external causes. In investing, this means successful trades are evidence of skill; unsuccessful ones are attributed to the market being irrational, the company releasing unexpected news, or timing being unlucky. The implication is that genuine learning from failure is obstructed — if failure is always someone else's fault, there is nothing to improve.