Agree with this sentiment. When you're in the moment, it may feel as if you're loosing time. But failing should be the best school you ever have. You might had to do research on X or train some aspects of your development skills etc. You always take that with you. The experience itself, is never lost.