People say “History repeats itself”, more often when injustice, human relationships, phenomena fall under the same pattern we argue over this. But why don't people accept things so easily when something goes wrong for their actions? Is there any cure science and religion have over this? Intellectuals lose their arguments over their ego but fail to accept it. Is this human behavior when we have ethical codes but still under circumstances we don't follow them often?
Many of the problems that we see "repeat" were not solved to begin with. These are difficult intractable issues like balancing liberty of the individual with the needs of society to be protected from the individual. Justice for the individual or minority as contrasted with justice for society. Not to mention Justice vs. mercy, or beauty vs. utility and so on. It is often not so much that history is repeated, as that the issues remain because there are no easy, obvious answers. We wrestle with such questions in philosophy and hope to improve.