The Law is not of faith.
Righteousness is by faith. The Holy Spirit in us will fulfill the righteousness in the law.
If you look back to the 10 commandments to try to work at them you will be cursed. That is what the 10 commandments do. They don't stop. They don't contain mercy.
The Perfect Law of Liberty is the Law of the Spirit of Life in Christ Jesus, who has DELIVERED us from the law of sin and death (10 commandments)
I don't promote that those who believe in God SHOULD commit sin. I promote that those who look back to the 10 commandments to work at them (SUCH AS YOU) are cursed, because they can't do all the things the law says to do in the way intended.
Christians must look to Christ for all their blessings. Christians must be dead to the law (10 commandments) in order to live for God.
When the love of God is shed abroad in a man's heart (Romans 5:5), the righteousness of the law is going to be fulfilled in him (Romans 13:8-10, 1 John 5:3, 2 John 1:6).
If someone bears the fruit of the Spirit, there is no law that will condemn him in his behjaviour (Galatians 5:22-23). This means that he becomes a law-abiding citizen of the kingdom of heaven for that he bears the fruit of the Spirit and walks according to the Spirit (see also Romans 8:4).
This is a righteousness apart from the law that is nevertheless attested to by the law and the prophets (Romans 3:21) that it is righteousness indeed.
By the law is the knowledge of sin (Romans 3:20, 1 John 3:4).
If anyone turns his ear away from hearing the law, even his prayer shall be an abomination (Proverbs 28:9).
If we look into the perfect law of liberty (the ten commandments) and continue therein, we will be blessed in what we do (James 1:25).
This is provided that we are not seeking to be justified by the law but understand that we are solely justified through faith in the blood of Jesus Christ (Galatians 3:10, Galatians 5:1-4). We are then set free to operate in "
obedience to the faith" (Romans 1:5) and "
the obedience of faith" (Romans 16:26).
Sin is the transgression of the law (1 John 3:4) so the opposite of sin is obedience to the law.
God tells us to abstain from sinning in 1 Corinthians 15:34 and Ephesians 4:26.
This is an exhortation to be obedient to the moral tenets of the law; especially the moral tenets as they are re-defined in the Sermon on the Mount and the Sermon on the Plain.
Jesus tells us that if we are not obedient to those moral tenets, that we have built our house on the sand and when the storms of life come, our house will fall and great will be the fall of it. But if we are obedint to those moral tenets, our house will stand, being founded on the rock (Matthew 7:24-27, Luke 6:47-49).