Georg Wilhelm Friedrich Hegel said this quote

World history is a court of judgment.