Even if that means judging behaviours instead of people, it still leads to conclusions of the form "You did a thing that led to a bad outcome. Don't do that next time."
But you're never in the same situation again, and next time you encounter a similar situation, the consequences of each choice can be different, and you likely won't have enough information to be sure which choice leads to a bad outcome.