This quote is saying that, before a person is successful, they are likely to experience a lot of temporary failure and maybe even some long-term setbacks. When these failures occur, the most logical thing to do would be to give up. Unfortunately, this is what most people actually do.