What is the purpose of the Old testament?

At dinner we were talking about Easter and my daughter asked this question “What is the purpose of the Old testament if we have a new covenant and a New testament?” She is 17 and interested. I was blown away and at a loss for words. Please, help me explain in the language of a mature teenager.

Jorden Ridnour

In my opinion, in the old testament, God wants to teach us the law that means not to do something to hurt others, because we didn’t understand love, but until the time is matured, God teaches us The love that means do something to love others.

Because kids don’t understand love yet mentally,so need to teach Law first.