There certainly is. Wisdom is what allows you to avoid making mistakes. You gain wisdom through experience, and you gain experience through making mistakes.