A covenant is an agreement or contract between two parties wherein one stipulates the terms and the other agrees to comply. In the OLD covenant (Old Testament), Jehovah God outlined to the people His laws (Ex 19:5-8). The children of Israel “answered together and said, ‘All that Jehovah hath spoken we will do.’”
We speak of two great covenants. The first was made to fleshly descendants of Abraham (the Jews), the old testament law of circumcision (Gen 17). Provisions were made for their worship through the Law of Moses, given by God to Moses on Mt. Sinai. This law included the Ten Commandments.
The first covenant was never intended to be final. There were types and prophecies looking forward to “better things” (Gen 12:3; Heb 7:12; 8:6). To fulfil this first covenant, it was necessary that Christ should come as “the seed of Abraham” (Gal 3:16; Rom 14:11). He fulfilled it and nailed it to the cross (Eph 3:15; I Tim 3:15; Col 2:14-15; Rom 7:1-6). The old law ended with the death of Christ on the cross. Every one of the 10 commandments is repeated in the New Covenant (Testament) except the fourth one.
Ask for booklet on the Old and the New Covenants (testaments, laws).