Hindsight bias is a cognitive phenomenon where people perceive events as having been more predictable after they have occurred. This bias leads individuals to believe that they knew the outcome of an event all along, contributing to an illusion of foresight. It often causes overconfidence in one's ability to predict future events based on past outcomes, affecting decision-making processes and evaluations of past judgments.