" I will put my law on their minds and write it on their hearts." Jeremiah 31:33
God gave the children of Israel the Ten Commandments to follow but because of our sinful nature we can not always keep these. God still loved them and gave them a New Covenant. Jesus Christ would save us from our sins.