There’s no failure in leaving something and doing better because you left. There may have been a failure in your ability to have foreseen the outcome, but if you leave one place to go to another that’s much better, that’s not a failure, that was a pit stop.

