What is the meaning of [history repeats itself]

Similar events tend to recur in different periods of history— for example, when rulers or governments fail to learn from the mistakes of those who have gone before; also used when some more trivial or personal incident recurs.