Mistakes are only mistakes if you do not learn from it. When it comes to what seems like a failure, it is not. It is just another lesson that you need to learn or understand on your way to finding out your true purpose. Yes it may hurt , but do not dwell on it, do not give it more energy than it deserves. Life is too short to dwell.