Outcome bias is a cognitive bias that can lead to poor decision making. It occurs when people judge the quality of a decision based on its outcome rather than the quality of the decision itself. This article will provide an overview of outcome bias and discuss strategies
From Wikipedia
The outcome bias is an error made in evaluating the quality of a decision when the outcome of that decision is already known. Specifically, the outcome effect occurs when the same "behavior produce[s] more ethical condemnation when it happen[s] to produce bad rather than good outcome, even if the outcome is determined by chance".