Hindsight bias is a phenomenon in which people tend to overestimate their ability to have predicted an event after it has already occurred. This bias can have a significant impact on decision-making, as it can lead people to believe that they had the ability
From Wikipedia
Hindsight bias, also known as the knew-it-all-along phenomenon or creeping determinism, is the common tendency for people to perceive past events as having been more predictable than they were.