Failure often occurs where curiosity and courage collide. Something sparks your interest and you find the courage to explore the new idea. Then, because you rarely get anything right on the first try, it doesn’t work, or at least not the way you expected. You fall down.
But then you pick yourself up and move forward having learned something and grown in the process. You get to approach the same problem from a smarter perspective.