You look at your actions and judge it based on infinite possibilities that weren't available at the time. As if you could have made choices that given the situation and what it was, you would not have thought of or did not have the opportunity to think of.
You are biased against your own limitations instead of looking at it as it was and with what choices you knew of and could choose from.