For a righteous man may fall seven times, and rise again, but the wicked shall fall by calamity.
There's a story about a ceramics teacher who divided his class into two groups. One group would be graded on the quantity of their work. They were to make as many pots as possible. The other group would be graded on the quality of their work. They were to make as perfect a pot as possible. When the day came to grade the students, the professor was amazed to discover that the group being graded for quantity also had the best quality. The group churning out the most vessels made the finest pieces. The reason? They were learning from their mistakes, so their work was constantly improving. The "quality" group spent all their time working on a single pot, but without the benefit of failures, mistakes, or experience. 1
Don't be afraid to fail. Proverbs 24:16 (NLT) says, "The godly may trip seven times, but they will get up again." If you've made a mistake or encountered a failure, don't stay down. Failure is often the back door to success.
Success is simple. Do what's right, the right way, at the right time.
1 David Bayles and Ted Orland, Art and Fear (Santa Barbara: Capra Press, 1993), 29.