I have heard people say that justification by works of the law is the idea that you need to "repent of your sins" in order to be forgiven. Often these people appeal to Paul for their position. But after studying the writings of Paul, I don't think that he had repentance in mind. I think that the "works" he was talking about was circumcision, and the "law" he was refering to was the Torah.
This is something posted online which gives a lot of clarity:
BUT WE DO NOT NEED TO OBEY THE TORAH OR BE UNDER THE JEWISH LAWS TO BE SAVED:
When Paul was talked about the “law" he often was talking about the Jewish system, the Judaic law of Moses. Paul was not talking about the moral law. He was talking about all of the Torah. The moral law does not demand circumcision anywhere! The moral law only demands love! It is the Jewish Torah that demands circumcision. Therefor when Paul said that we are not justified by the law, he is saying that we are not justified by being circumcised.
Paul emphasised predestination because His ministry was to the Gentiles, who were also "chosen" people. Likewise, Paul emphasised that we are not justified by the law (the Torah) because his ministry was to the Gentiles who were not under the law (under the Torah).
We are not saved by obeying the Torah. We are saved by turning from our sins and turning to Christ. Gentiles do not need to become Jews to be saved. They do not need to be circumcised (obey the Torah or obey the law) to be saved:
"And certain men which came down from Judaea taught the brethren and said, except ye be CIRCUMCISED AFTER THE MANNER OF MOSES, YE CANNOT BE SAVED." Acts 15:1
"But neither Titus who was with me, being a GREEK, was compelled to be CIRCUMCISED. And that because of FALSE BRETHREN unawares brought in who came privily to spy out our LIBERTY which we have in Christ Jesus, that they might bring us into BONDAGE, to whom we gave place by subjection, no, not for an hour, that the truth of the Gospel might continue with you.... But contrariwise, when they saw that the GOSPEL OF THE UNCIRCUMSISION was committed unto me..." Gal 2:3-7
"Therefore we conclude that aman is justified by faith WITHOUT THE DEEDS OF THE LAW. Is he the God of the JEWS only? is he not also of the GENTILES? Yes of the Gentiles also: Seeing it is one God which shall justify the CIRCUMCISION by faith, and the UNCIRCUMCISION through faith." Romans 3:28-30
"Behold I Paul say unto you that if ye be CIRCUMCISED, Christ shall profit you nothing. For I testify again to every man that is CIRCUMCISED, that he is a debtor to do the WHOLE LAW. Christ is become of no effect unto you, whosoever you are that are JUSTIFIED BY THE LAW, ye are fallen from grace." Gal. 5:2-4
When Paul said that we did not have to obey the law to be saved, He was saying that we do not have to obey the Torah or become Jewish to be saved. We do not need to be circumcised according to the Jewish law to be saved. Paul was not saying that we do not need to repent of our sins (change our mind about breaking the moral law). Both Jew and Gentile are under the moral law. But only the Jews were under the Torah.
"And unto the JEWS I became as a Jew, that I might gain the Jews; to them that are UNDER THE LAW as under the law, That I might gain them that are under the law. To them that are WITHOUT LAW as without law (being not without LAW TO GOD, but UNDER the LAW TO CHRIST) that I might gain them that are without law" (1 Co. 9:20-21)
It is very clear that to be "under the law" is to be Jewish, it is to be under the Torah. But to be "without law" is to be without obligation to the Torah, but to still be under the law to God and under the law of Christ.
Paul was not coming against the idea that we need to repent of our sins, turn from our sins, or forsake our sins to be forgiven. Or else Paul would be contradicting the rest of the Bible. But Paul was saying that Gentiles do not need to obey the Torah or be circumcised to be justified. We need to read Paul, not through the eyes of the reformers, but through his own eyes with the cultural context he was in.
