Alasdair Macintyre said this quote

History is neither a prison nor a museum, nor is it a set of materials for self-congratulation.