This quote means that you should try to be successful and make plans and schemes, but you will sometimes fail and must try again. Experimentation and new opportunities are part of life and you will gain and lose things along the way. In the end, you will have acquired some knowledge and understanding that you can share with others.