It is said that nothing replaces experience. In other words, both time and enough 'failure' will produce wisdom and experience. Sort of why people get nervous when a young doctor treats them. Another great expression is "Some people fail, to grow while other just fail to grow." It seems we can be very hard on ourselves about what we term 'failure.' Failure looked at in a more positive way could be rephrased as opportunity. So, put another way, when something does not go as we planned, it gives us the opportunity for growth. This type of growth can be invigorating if we let it be. If our minds are open to it. this type of opportunity is not failure but really a form of success.