This quote means that a lot of people who fail in life probably gave up their efforts too soon, and were very close to success. For example, if someone was trying to learn a new skill, they may only have been a few steps away from succeeding, but because they got frustrated or felt overwhelmed, they decided to give up entirely. So if they had persisted and kept working hard, they may have accomplished their goal.