The 10 commandments was a covenant between Moses and his generation and God after they came out of Egypt starting in Chapter 5 Deuteronomy 5:2-3 The Lord our God made a covenant with us in Horeb. The Lord made not this covenant with our fathers, but with us, even us, who are all of us here alive this day. Moses speaks here that the Ten Commandments was for them of that time that was lead out of Egypt. But I encourage everyone to read the whole chapter though. Now going to Hebrews 9 verses 1-5.
Then verily the first covenant had also ordinances of divine service, and a worldly sanctuary.For there was a tabernacle made; the first, wherein was the candlestick, and the table, and the shewbread; which is called the sanctuary.And after the second veil, the tabernacle which is called the Holiest of all; Which had the golden censer, and the ark of the covenant overlaid round about with gold, wherein was the golden pot that had manna, and Aaron's rod that budded, and the tables of the covenant; And over it the cherubims of glory shadowing the mercyseat; of which we cannot now speak particularly.
Verse 4 "tables of the covenant" That was the 10 commandments . To show this true lets go back to Deuteronomy Chapter 9 this addresses that that are the same "tables" are the ones in Hebrews 9:4 flip to Deuteronomy 9:9 When I was gone up into the mount to receive the tables of stone, even the "tables of the covenant" which the Lord made with you, then I abode in the mount forty days and forty nights, I neither did eat bread nor drink water: and Deuteronomy 9:11 And it came to pass at the end of forty days and forty nights, that the Lord gave me the two tables of stone, even the "tables of the covenant." Showing in both the new and old testament the 10 commandments are "the tables of the covenant." And the Ten Commandments was between Moses and His generation I encourage you to read all of those chapters in full. Now Jeremiah and Hebrews proves once again the Ten Commandments was for Moses and his generation.
Jeremiah 31:31-32 Behold, the days come, saith the Lord, that I will make a new covenant with the house of Israel, and with the house of Judah: Not according to the covenant that I made with their fathers in the day that I took them by the hand to bring them out of the land of Egypt; which my covenant they brake, although I was an husband unto them, saith the Lord:
Hebrews 8:8-9 For finding fault with them, he saith, Behold, the days come, saith the Lord, when I will make a new covenant with the house of Israel and with the house of Judah: Not according to the covenant that I made with their fathers in the day when I took them by the hand to lead them out of the land of Egypt; because they continued not in my covenant, and I regarded them not, saith the Lord.
Am I saying to forsake the OT no II Timothy 3:16 All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness: All scripture is educational and valuable but it also has its place and time as well. The purpose of the Old Testament was never intended by God to be the universal law for all people for all of time. We are to love God and love our neighbors the golden two. If we obey those two commands faithfully we will be upholding all that God requires of us. That is all we can do. Romans 8:8 So then they that are in the flesh cannot please God. I Corinthians Chapter 13:1-3 Though I speak with the tongues of men and of angels, and have not charity, I am become as sounding brass, or a tinkling cymbal. And though I have the gift of prophecy, and understand all mysteries, and all knowledge; and though I have all faith, so that I could remove mountains, and have not charity, I am nothing.And though I bestow all my goods to feed the poor, and though I give my body to be burned, and have not charity, it profiteth me nothing. If you don't have not love you are nothing and if someone doesn't know love they don't know God. I John 4:8 He that loveth not knoweth not God; for God is love. Do everything because you love Lord Jesus.
He has been there and done that and conquered all of that too!