Judge not a person for how they act in the best of times, but for how they act during the hard times, when they're presented with the possibility of having done wrong.
You'll find that you have less true friends than you actually do, but those that remain, they will be there to catch you when you fall.