We are playing a hard game. We fail a lot of time. But it is a game and we don't lose our hope and restart it again and again and again. In the last try, we win. How can that be possible? Why didn't we win for the first time or second why in the tenth time?
The main reason for this is the experience. When we lose every time we are getting a lot of experience. Let us take an example in gaming. If we want to beat our score ourselves it will take a lot of time we fail a lot of time but we will succeed in the last time. It will be like a miracle that “How did I do that?”.
Failures are lessons, each time we fail we learn from it. The more we learn, the more probability to succeed in the work that we are failing. That is why everyone tells us not to quit. Great things take a lot of time. Be patient.