What are the merits and demerits of history?

Merits

it prevents us from committing any other mistake apart from what they had done.

It is very necessary for us to learn the importance of the history.