Terry Goodkind said this quote

...think of the solution, not the problem. If your mind was filled only with thoughts of why you were going to lose, then you couldn't think of how to win.