I'm going to answer this question from a scientific standpoint. No, human evolution will never learn from past mistakes. That's not how Darwinian Evolution works. Current evolutionary theory works on the basis of adaptations and survival of the fittest.
Environmental and societal factors are constantly changing. Sexual reproduction is also always changing key genetic factors within any given population. Humans are not exempt. Inevitably, certain individuals within any given environment are more "fit" for that environment. That gives them a higher chance of survival. A higher survival chance means a higher likelihood of passing on those traits. After enough time, it will appear that nature has naturally selected a certain set of traits to evolve the species. The point is, the evolution of a species is done through random genetic changes. It is not done through learning about historical mistakes. Perhaps that might work in the short term, but in terms of long range evolutionary changes, it isn't likely a factor.