We must try to learn from the mistakes of others, but if this does not work out and does not work out, then we need to learn from our own mistakes.
When you make a mistake, there are only three things you should ever do about it, admit it, learn from it, and never ever repeat it. Failure is sometimes are key to success, it has the power to turn us something better than we were before. Learning from our mistakes and acceptance is a proof of maturity and must be done in order to continue to life.
Yes, I really do agree with you. Mistakes are the portal of discovery of new things and correcting it to be right. It is a lesson to be learn by individual and not suppose to get discourage at all. Mistakes serve as a motivation to strive harder, meant for learning and not meant for repeating.