Any unsuccessful attempt is merely a learning experience.
The most successful people in any endeavor choose to see setbacks as learning experiences rather than as failure.
Not only does this help their self-esteem, but it also puts them into a productive mindset where they can analyze what didn’t work and make plans to improve their future results.
Just remember Edison and the many experiments which successfully proved what didn’t work so he could find what would work to create the electric light bulb.
It only takes ONE good success to wipe out a lifetime of failure.