Remove grammatical flaws from the given text:
You certainly will learn to fail and win but the most important thing that you will lern is never give up.
You certainly will learn to fail and win, but the most important thing that you will learn is never to give up.