“Those who do not know their history are doomed to keep stepping in it.”
Lois McMaster Bujold Vorkosigan Saga
This evokes the famous statement by George Santayana in The Life of Reason Vol. 1 (1905): "Those who cannot remember the past are condemned to repeat it."
Vorkosigan Saga, The Vor Game (1990)