Friedrich Nietzsche said this quote

All history is the experimental refutation of the theory of the so-called moral order of things.