The words law and religion basically mean the same thing. When one is doing the law they are doing their religion. When one is doing their religion they are doing the law.
"Knowing this that a man is not justified by the works of the law, but by the faith of Jesus Christ, even we have believed in Jesus Christ that we might be justified by the faith of Christ and not by the works of the law; for by the works of the law shall no flesh be justified, Gal. 2:16. Therefore by the deeds of the law there shall no flesh be justified in his sight: for by the law is the knowledge of sin, Rom. 3:20. Tell me that you desire to be under the law, do you not hear the law? Gal. 4:21. For as many as are under the works of the law are under a curse: for it is written cursed is everyone, that does not continue in all things that are written in the book of the law to do them, Gal. 3:10. Knowing this, that the law is not made for a righteous man, but for the lawless and disobedient, for the ungodly and for sinners, for unholy and profane, for murders of fathers and mothers, for manslayers, 1 Tim.1:9.
Christ has become no effect unto you, whosoever you are justified by the law; you are fallen from grace, Gal. 5:4. Because the law works wrath: for where no law is there is no transgression, Ro. 4:15. But now we are delivered from the law, that being dead wherein we were held; that we should serve in newness of the Spirit, and not in the oldness of the letter, Ro. 7:6. For the letter kills , but the spirit gives life, 2 Cor. 3:6.
Having abolished in his flesh the enmity, even the law of commandments contained in the ordinances; for to make in himself of twain one new man, so making peace, Eph. 2:15. Blotting out the hand writing of ordinances that was against us, and took it out of the way, nailing it to his cross, Col. 2:14. For Christ is the end of the law for righteousness to everyone that believes, Ro. 10:4. Where is boasting then? it is excluded, by what law? of works? No: but by the law of faith, Ro. 3:27. Therefore we conclude that a man is justified by faith without the deeds of the law, Ro. 3:28. It is of faith that it might be by grace; to the end the promise might be sure to all the seed; not only to that which is of the law, but to that also which is of the seed of Abraham; who is the father of us all, Ro. 4:16."