Man cannot be perfect, and anyone can make a mistake. The important thing is not the mistake, but the fact that you should keep the mistake in mind and not repeat it. To do so, when someone points out your mistake or gives you advice, you must accept it with joy. You should get rid of your pride and humbly learn from others. If you do, your mistake will be of benefit to you and the basis for your success.
"Incline your ear and hear the words of the wise, and apply your mind to my knowledge" (Proverbs 22:17).