Here is another question, what is meant by Law in this text.
For this is the covenant that I will make with the house of Israel after those days, saith the Lord; I will put my laws into their mind, and write them in their hearts: and I will be to them a God, and they shall be to me a people:
(Heb 8:10 KJV)
Hebrews 8:7-12 New International Version (NIV)
7 For if there had been nothing wrong with that first covenant, no place would have been sought for another. 8 But God found fault with the people and said:
“The days are coming, declares the Lord,
when I will make a new covenant
with the people of Israel
and with the people of Judah.
9 It will not be like the covenant
I made with their ancestors
when I took them by the hand
to lead them out of Egypt,
because they did not remain faithful to my covenant,
and I turned away from them,
declares the Lord.
10 This is the covenant I will establish with the people of Israel
after that time, declares the Lord.
I will put my laws in their minds
and write them on their hearts.
I will be their God,
and they will be my people.
11 No longer will they teach their neighbor,
or say to one another, ‘Know the Lord,’
because they will all know me,
from the least of them to the greatest.
12 For I will forgive their wickedness
and will remember their sins no more.”
It was an explanation of how Jesus fulfilled old testament prophecies.