The New Testament position on the works of the Law
Romans 3:20 ASV
because by the works of the law shall no flesh be justified in his sight; for through the law cometh the knowledge of sin.
Romans 3:27 ASV
Where then is the glorying? It is excluded. By what manner of law? of works? Nay: but by a law of faith.
Romans 3:28 ASV
We reckon therefore that a man is justified by faith apart from the works of the law.
Galatians 2:16 ASV
yet knowing that a man is not justified by the works of the law but through faith in Jesus Christ, even we believed on Christ Jesus, that we might be justified by faith in Christ, and not by the works of the law: because by the works of the law shall no flesh be justified.
Galatians 3:2 ASV
This only would I learn from you, Received ye the Spirit by the works of the law, or by the hearing of faith?
Galatians 3:5 ASV
He therefore that supplieth to you the Spirit, and worketh miracles among you, doeth he it by the works of the law, or by the hearing of faith?
Galatians 3:10 ASV
For as many as are of the works of the law are under a curse: for it is written, Cursed is every one who continueth not in all things that are written in the book of the law, to do them.
Obviously, by definition, the works of the Law are not the Law itself but a part or a portion of the Law. The Law contains more than the works. In other words, the Law still stands intact even if the works of the Law have been fulfilled by the sacrificial Lamb.
The works of the Law are the portions of the Law that had the power to justify men before Jesus became the means of justification.
How were the Israelites were getting justified before Jesus? Those means of justification are the works of the Law.