I’ll give you an example. In my twenties, I invested $100,000 into a business idea that never took off. Now that I understand cognitive biases — thanks to Charlie Munger — I see how the pernicious sunk cost fallacy wreaked havoc upon my decision-making.
How To Tell If Someone Is Truly Smart Or Just Average
Michael Simmons

I think this is called hindsight bias.