That quote comes from far before that 2019 book. It showed up as early as the 70s in that form, frequently attributed (without verified evidence) to Mark Twain [0]
[0] https://quoteinvestigator.com/2014/01/12/history-rhymes/
[0] https://quoteinvestigator.com/2014/01/12/history-rhymes/