Failures are essential for success. If you aren't failing then you may not be trying enough. Successful people know that the path to success is not a straight line but a winding road full of obstacles. You must be willing to endure the trials of today in order to bask in the achievements of tomorrow.
It's easy for these challenges to discourage you and make it seem impossible to achieve your goals. In reality, it's the overcoming of these challenges that gets you one step closer to your dream. If we start thinking of every failure or hardship as the path we must take to get that home run, then the strikes are just the price we must be willing to pay.