God’s moral law and His views concerning same have not and will never change. God provided the moral law to His Angels and then to human kind through the conscience (Romans 2:15). God ordained the moral law for human kind…
1) …as a bulwark against unrestrained narcissism which would inevitably lead to the extinction of the species.
2) …so that God’s judgment for sin could manifest with equity and due process. Note that the moral law was extant throughout the Adamic and Noahic generations as God judged the World in accordance with the moral law and destroyed same by water save eight.
3) …as an arbiter of free will. It is the moral law and the conscience that are the arbiter of free will.
God’s moral law has been written upon the heart of mankind from Adam forward and that law is arbitrated by the conscience. The Covenant of Law simply codified the eternal moral law in stone and scratched it upon parchment via Moses but the only changes were an addition of a civil-ceremonial-dietary law that was and is ONLY applicable to Jacob’s children, Judaism, those under the Law Covenant.
In the New Covenant, those who are born again by the Holy Spirit via faith in Jesus as Lord, they receive the Commandments of Jesus infused within their heart and mind by the Holy Spirit (John 14:26) and the Spirit walks them in obedience to those Commandments of Jesus via the process of sanctification. Nothing has truly changed other than Messiah has extrapolated the moral law, the Covenant of Law, and placed it within the heart and mind of the faithful in Him and increased culpability by adding mens rea or the thought life as an element to committing sin; that is, no longer must one actually physically commit the sin to be culpable before God but in the New Covenant the mere thought of the sin is culpability (Matthew 5:27-28).