Consider the following passages.
Jeremiah31:31 “The day is coming,” says the Lord, “when I will make a new covenant with the people of Israel and Judah. 32 This covenant will not be like the one I made with their ancestors when I took them by the hand and brought them out of the land of Egypt. They broke that covenant, though I loved them as a husband loves his wife,” says the Lord.
33 “But this is the new covenant I will make with the people of Israel after those days,” says the Lord. “I will put my instructions deep within them, and I will write them on their hearts. I will be their God, and they will be my people. 34 And they will not need to teach their neighbors, nor will they need to teach their relatives, saying, ‘You should know the Lord.’ For everyone, from the least to the greatest, will know me already,” says the Lord. “And I will forgive their wickedness, and I will never again remember their sins.”
Hebrews 10:14 For by that one offering he forever made perfect those who are being made holy.
15 And the Holy Spirit also testifies that this is so. For he says,
16 “This is the new covenant I will make
with my people on that day, says the Lord:
I will put my laws in their hearts,
and I will write them on their minds.”
17 Then he says,
“I will never again remember
their sins and lawless deeds.”
18 And when sins have been forgiven, there is no need to offer any more sacrifices.
God will write His laws on our hearts. This is part of His new covenant. If He were abolishing the law and doing away with it why would there be the need to BRAND IT ON OUR HEARTS!
Because His people shall be Holy. Being obedient and following the laws and statutes of God is what seperates us from the world of unbelievers who are in disobedience and rebellion against God. These such rebels yield to their father satan.
Those who belong to God love and obey God and receive His Son as Gods truth sent to reconcile us to Himself. By obedience and submission to Christ. The laws will be written on our hearts at the indwelling of Gods Holy Spirit. We become the temple of God. A Holy People. We cannot teach to disobey His laws or that they no longer apply! That would be herecy!