This quote means that you cannot consider yourself to have failed until you stop trying. You are not a failure until you decide to give up on whatever it is that you are pursing. Even if you have not achieved the results you wanted, as long as you persevere and continue to try, you have not failed.