The sin nature in mankind is contrary to God's nature in mankind could not please God as long as this sin nature was in mankind. What God did was to institute the Mosaic law so that it could be used to control or suppress the sin nature. The law did not and could not free mankind of the sin nature but was simply a means of controlling that nature so that it would not have the liberty to manifest itself in total freedom. We need to get fixed in our minds that the law was simply a means of controlling or suppressing the old sin nature resident within. It also needs to be fixed in our minds that they were totally unaware that this was what was happening all they knew is that they either obeyed or disobeyed the law. As long as they obeyed the law they maintained a relationship with God and if they failed to obey the law the relationship with God ceased to exist. This simply means they did not have a birthed relationship with God our father through "Christ in you." "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 hey people:" Hebrews 8:10. This covenant belonged to Israel exclusively! We know the manifestations of the flesh, adultery, fornication, uncleanness, Idolatry, witchcraft, hatred, etc. Galatians 5:19-21. The purpose of the Mosaic law was to control the Sin nature with the mind. "O wretched man that I am who shall deliver me from the body of this death? I thank God through Jesus Christ our Lord. So then with the mind by myself serve the law of God; but with the flesh the law of sin" Romans 7:24–25. The "body of this death" is nothing more then the old sin nature waging war against the soul mind and body of mankind.