Timothy Zahn said this quote

No one is immune to failure. All have tasted the bitterness of defeat and disappointment. A warrior must not dwell on that failure, but must learn from it and continue on.But not all learn from their errors. That is something those who seek to dominate others know very well, and know how to exploit it. If an opponent has failed once at a lococal problem, his enemy will first try the same type of problem, hoping the failure will be repeated.What the manipulator sometimes forgets, and what a warrior must always remember, is that no two sets of circumstances are alike. One challenge is not like the other. The would-be victim may have learned from the earlier mistake.Or there may have been an unanticipated or unknown crossing of life paths.