This quote means that how you respond to failure has an important role in determining whether or not you will be successful in the end. It is important to learn from failures and use the experience to grow, rather than seeing failures as a sign of defeat. Facing failure with a positive attitude and resilience makes it more likely that you will eventually achieve success.