I would frame it more like: just because you have tried and failed doesn't mean you can't succeed, even if you have failed again and again and again. Circumstances change. New solutions become available. New resources or new insights present themselves. Sometimes just doing nothing and letting time pass actually produces progress. But the only thing that guarantees failure is to give up altogether.