Don't let this happen to you. Read the Bible and let it persuade you. Darned good advice!
Romans 3:20
Therefore no one will be declared righteous in God's sight by the works of the law; rather, through the law we become conscious of our sin.
Galatians 2:16
Know that a person is not justified by the works of the law, but by faith in Jesus Christ. So we, too, have put our faith in Christ Jesus that we may be justified by faith in Christ and not by the works of the law, because by the works of the law no one will be justified.