Thoughts related to two very different outcomes, failure or success, have something in common. Both have nothing to do with the task at hand.
Outcomes are largely based on uncontrollable variables, like how fast other people are sailing. Wanting to be in the lead has little to do with actually being there (except that it may have helped you to work hard to become good). If you do find yourself in the lead, you did something right. Chances are, you focused on such variables as windshifts, current, and fleet positioning or such controllable variables as your boatspeed, boathandling, and keeping calm. Once you're in the lead, you probably do not want to start doing something different (like wasting lots of mental space on what place you will or won't finish).