Ernest Renan said this quote

The oblivion, and I'll say even the historical error, are a key factor in the creation of a nation, to the extent that the progress of historical studies is often a danger to nationality.