Yehovah Confirmed the Covenant with Israel. In the Third Month after leaving Egypt, Moses received the Law from Yehovah. Israel, through the Covenant, agreed to obey the Law. The conditions have not changed and we are to obey as did ancient Israel.
Exo 19:5-8 ESV Now therefore, if you will indeed obey my voice and keep my covenant, you shall be my treasured possession among all peoples, for all the earth is mine; (6) and you shall be to me a kingdom of priests and a holy nation. These are the words that you shall speak to the people of Israel." (7) So Moses came and called the elders of the people and set before them all these words that Yehovah (the LORD) had commanded him. (8) All the people answered together and said, "All that Yehovah (the LORD) has spoken we will do." And Moses reported the words of the people to Yehovah (the LORD).
Exo 34:32 ESV Afterward all the people of Israel came near, and he commanded them all that Yehovah (the LORD) had spoken with him in Mount Sinai.
The tablets containing the Ten Commandments were placed in the Ark of the Covenant.
Deu 10:5 ESV Then I turned and came down from the mountain and put the tablets in the ark that I had made. And there they are, as Yehovah (the LORD) commanded me."
Heb 9:3-4 ESV Behind the second curtain was a second section called the Most Holy Place, (4) having the golden altar of incense and the ark of the covenant covered on all sides with gold, in which was a golden urn holding the manna, and Aaron's staff that budded, and the tablets of the covenant.
The Law is still in force and, as Christians, we are to obey the Law, as did Christ.
Mat 5:17-18 ESV "Do not think that I have come to abolish the Law or the Prophets; I have not come to abolish them but to fulfill them. (18) For truly, I say to you, until heaven and earth pass away, not an iota, not a dot, will pass from the Law until all is accomplished.
Rom 2:13 ESV For it is not the hearers of the law who are righteous before God, but the doers of the law who will be justified.
Joh 15:10 ESV If you keep my commandments, you will abide in my love, just as I have kept my Father's commandments and abide in his love.
1Jn 2:3-4 ESV And by this we know that we have come to know him, if we keep his commandments. (4) Whoever says "I know him" but does not keep his commandments is a liar, and the truth is not in him,
1Jn 3:22 ESV and whatever we ask we receive from him, because we keep his commandments and do what pleases him.
2Jn 1:6 ESV And this is love, that we walk according to his commandments; this is the commandment, just as you have heard from the beginning, so that you should walk in it.
In the Hebrew scriptures God promised a renewed Covenant of the Law with the house of Israel. He would write His Law on their hearts.
Jer 31:31-33 ESV "Behold, the days are coming, declares Yehovah (the LORD), when I will make a new covenant with the house of Israel and the house of Judah, (32) not like the covenant that I made with their fathers on the day when I took them by the hand to bring them out of the land of Egypt, my covenant that they broke, though I was their husband, declares Yehovah (the LORD). (33) For this is the covenant that I will make with the house of Israel after those days, declares Yehovah (the LORD): I will put my law within them, and I will write it on their hearts. And I will be their God, and they shall be my people.
This was to be a better Covenant mediated by Christ.
Heb 8:6-7 ESV But as it is, Christ has obtained a ministry that is as much more excellent than the old as the covenant he mediates is better, since it is enacted on better promises. (7) For if that first covenant had been faultless, there would have been no occasion to look for a second.
Heb 9:15 ESV Therefore he is the mediator of a new covenant, so that those who are called may receive the promised eternal inheritance, since a death has occurred that redeems them from the transgressions committed under the first covenant.
God’s Spirit was given on Pentecost and initiated the New Covenant with the house of Israel.
Act 2:1-4 ESV When the day of Pentecost arrived, they were all together in one place. (2) And suddenly there came from heaven a sound like a mighty rushing wind, and it filled the entire house where they were sitting. (3) And divided tongues as of fire appeared to them and rested on each one of them. (4) And they were all filled with the Holy Spirit and began to speak in other tongues as the Spirit gave them utterance.
The Law then began to be kept in the Spiritual intent as the circumcision of the heart was given, as promised by God.
Rom 2:29 ESV But a Jew is one inwardly, and circumcision is a matter of the heart, by the Spirit, not by the letter. His praise is not from man but from God.
Rom 7:6 ESV But now we are released from the law, having died to that which held us captive, so that we serve in the new way of the Spirit and not in the old way of the written code.
The sacrificial laws were done away with the death of Christ on the stake.
Heb 9:22-28 ESV Indeed, under the law almost everything is purified with blood, and without the shedding of blood there is no forgiveness of sins. (23) Thus it was necessary for the copies of the heavenly things to be purified with these rites, but the heavenly things themselves with better sacrifices than these. (24) For Christ has entered, not into holy places made with hands, which are copies of the true things, but into heaven itself, now to appear in the presence of God on our behalf. (25) Nor was it to offer himself repeatedly, as the high priest enters the holy places every year with blood not his own, (26) for then he would have had to suffer repeatedly since the foundation of the world. But as it is, he has appeared once for all at the end of the ages to put away sin by the sacrifice of himself. (27) And just as it is appointed for man to die once, and after that comes judgment, (28) so Christ, having been offered once to bear the sins of many, will appear a second time, not to deal with sin but to save those who are eagerly waiting for him.
They had been added in order to keep Israel alive as they broke the Covenant.
Jer 7:21-23 ESV Thus says Yehovah (the LORD) of hosts, the God of Israel: "Add your burnt offerings to your sacrifices, and eat the flesh. (22) For in the day that I brought them out of the land of Egypt, I did not speak to your fathers or command them concerning burnt offerings and sacrifices. (23) But this command I gave them: 'Obey my voice, and I will be your God, and you shall be my people. And walk in all the way that I command you, that it may be well with you.'
Hos 6:6-7 ESV For I desire steadfast love and not sacrifice, the knowledge of God rather than burnt offerings. (7) But like Adam they transgressed the covenant; there they dealt faithlessly with me.