The "contract" was the Law aka the commandments - you know, the ones God said to do, all of them [613 by Rabbinic count]? or they would be cursed?
Ummm...nope the contract was to get these people enslaved in Egypt to their ancestral home promised in a previous contract with Abraham...see? covenants do not anull each other...the terms to get them there were the same as for their father Abraham had....obedience in all things...faithful
ps: Jesus did not keep the Law perfectly. The law required animal sacrifices for sin. Jesus was perfect and without sin when He was born. He did not have to keep the Law from being cursed or to get blessed or to "choose life". What a pile of huey. I do not know why this false statement has made it's way on the table [Jesus had to keep the Law perfectly, yadda yadda].
Well now I have to fix another text to say what you are claiming...
"If you keep my commands, you will remain in my love, just as I have NOT kept my Father's commands and remain in his love."