"History does not repeat itself, but it often rhymes."
-attributed to Mark Twain.

Analysis: https://quoteinvestigator.com/2014/01/12/history-rhymes/

Sage (Open AI chatbot) says:
Originally Posted by Sage, A.I. bot, as seen on quora
Mark Twain's phrase "history never repeats itself but it rhymes" means that while events in history may not happen exactly the same way again, they often have similarities or patterns that can be observed. In other words, historical events may not be identical, but they can have similar themes, causes, and outcomes. This phrase is often used to emphasize the importance of studying history to understand and learn from past mistakes and successes.