Hebrews 8 tells us that the Old Covenant is obsolete and was replaced by a better covenant by Jesus. This was prophesied in the Old Testament in Jeremiah 31.
New King James Version (NKJV)
The New Priestly Service
8 Now this is the main point of the things we are saying: We have such a High Priest, who is seated at the right hand of the throne of the Majesty in the heavens, 2 a Minister of the sanctuary and of the true tabernacle which the Lord erected, and not man.
A New Covenant7 For if that first covenant had been faultless, then no place would have been sought for a second. 8 Because finding fault with them, He says: “Behold, the days are coming, says the Lord, when I will make a new covenant with the house of Israel and with the house of Judah— 9 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 did not continue in My covenant, and I disregarded them, says the Lord. 10 For this is the covenant that I will make with the house of Israel after those days, says the Lord: I will put My laws in their mind and write them on their hearts; and I will be their God, and they shall be My people. 11 None of them shall teach his neighbor, and none his brother, saying, ‘Know the Lord,’ for all shall know Me, from the least of them to the greatest of them. 12 For I will be merciful to their unrighteousness, and their sins and their lawless deeds[b] I will remember no more.”[c]
13 In that He says, “A new covenant,” He has made the first obsolete. Now what is becoming obsolete and growing old is ready to vanish away.