Hebrews 8:9-10 (YLT)
9 not according to the covenant that I made with their fathers, in the day of My taking them by their hand, to bring them out of the land of Egypt--because they did not remain in My covenant, and I did not regard them, saith the Lord, --
10 because this is the covenant that I will make with the house of Israel, after those days, saith the Lord, giving My laws into their mind, and upon their hearts I will write them, and I will be to them for a God, and they shall be to Me for a people;
About Hebrews 8: The author of Hebrews continues his comparison between the old Levitical system and the superior ministry of Jesus. He argues that if the first covenant had been faultless, there would have been no need for a second one (verse 7). The flaw was not in God’s law but in the people who could not keep it. To explain this, the author quotes extensively from Jeremiah 31, showing that God planned a new arrangement long before Christ came (verses 8-9). This new covenant is distinct because it deals with the internal condition of man rather than just external rituals. Read the study notes
2 verses · Compare in parallel · Read all of Hebrews 8