emphasizes that
the final outcome matters more than temporary advantages or early setbacks; premature celebration may prove misguided.
Imagine a case where the winner is the one who wins at the end of the game, so if someone is not successful at some point, he might succeed in the end.; then “He laughs best who laughs last” fits well.