That's irrelevant.
That's one reason Christians should look at church history. If you look at Paul 's writings, virtually everywhere he speaks of not being saved by works the context is the Mosaic Law. We don't get to take his words and apply our own context and definitions.
O foolish Galatians, who hath bewitched you, that ye should not obey cthe truth, before whose eyes Jesus Christ hath been evidently set forth, crucified among you? 2 This only would I learn of you, Received ye the Spirit by the works of the law, or by the hearing of faith? 3 Are ye so foolish? having begun in the Spirit, are ye now made perfect by the flesh? 4 Have ye suffered so many things in vain? if it be yet in vain. 5 He therefore that ministereth to you the Spirit, and worketh miracles among you, doeth he it by the works of the law, or by the hearing of faith?
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ga 3:1–5.
Here we see that Paul equates the works of the Law with the flesh.
.20 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.
21 But now the righteousness of God without the law is manifested, being witnessed by lthe law and mthe prophets;
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ro 3:19–22.
We see here that Paul understood that righteousness before Christ was via the Law of Moses.
11 And he received the sign of circumcision, a seal of the righteousness of the faith which he had yet being uncircumcised:
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ro 4:11.
Here we see that Abraham did something to receive that seal of righteousness.
31 But Israel, which followed after the law of righteousness, hath not attained to the law of righteousness.
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ro 9:31.
Here we see that Paul equates the Law of Moses with righteousness. He calls it the Law of Righteousness.
4 For Christ is the end of the law for righteousness to every one that believeth. 5 For Moses describeth the righteousness which is of the law, That the man which doeth those things shall live by them.
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ro 10:4–5.
Here Paul says Christ is the end of the Law for believers. That Law is a law of Righteousness as we see in this passage.
3 Finally, my brethren, rejoice in the Lord. To write the same things to you, to me indeed is not grievous, but for you it is safe. 2 Beware of dogs, beware of evil workers, beware of the concision. 3 For we are the circumcision, which worship God in the spirit, and rejoice in Christ Jesus, and have no confidence in the flesh. 4 Though I might also have confidence in the flesh. If any other man thinketh that he hath whereof he might trust in the flesh, I more: 5 Circumcised the eighth day, of the stock of Israel, of the tribe of Benjamin, nan Hebrew of the Hebrews; as touching the law, a Pharisee; 6 Concerning zeal, persecuting the church; touching the righteousness which is in the law, blameless.
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Php 3.
Paul here equates a righteousness with the Law. So, Paul understands that there is a righteousness in the Law.
, 9 And be found in him, not having mine own righteousness, which is of the law, but that which is through the faith of Christ, the righteousness which is of God by faith:
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Php 3:8–9.
Again, Paul sees a righteousness in keeping the Law. This was a common belief among the Jews. So, keeping the Law is "righteous deeds."
Regarding the Gentiles, no, they didn't have the Law. What they had was the Judaizers. The Judaizers were Jews who had accepted Christ but also insisted that the Gentiles keep the Law of Moses. They went behind Paul telling his converts that in addition to faith in Christ they also had to keep the Law.
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. 2 When therefore Paul and Barnabas had no small dissension and disputation with them, they determined that Paul and Barnabas, and certain other of them, should go up to Jerusalem unto the apostles and elders about this question.
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ac 15:1–2.
They were telling the Gentiles they had to be circumcised. So Paul and Barnabas went to Jerusalem to speak with the other apostles.
4 And when they were come to Jerusalem, they were received of the church, and of the apostles and elders, and they declared all things that God had done with them. 5 But there rose up certain of the sect of the Pharisees which believed, saying, That it was needful to circumcise them, and to command them to keep the law of Moses.
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ac 15:4–5.
When they went to the Jerusalem church there was a group who said the Gentiles must be circumcised and keep the Law of Moses. This was the same thing the Judaizers were claiming. We see this with the Galatians.
3 O foolish Galatians, who hath bewitched you, that ye should not obey the truth, before whose eyes Jesus Christ hath been evidently set forth, crucified among you? 2 This only would I learn of you, Received ye the Spirit by the works of the law, or by the hearing of faith? 3 Are ye so foolish? having begun in the Spirit, are ye now made perfect by the flesh? 4 Have ye suffered so many things in vain? if it be yet in vain. 5 He therefore that ministereth to you the Spirit, and worketh miracles among you, doeth he it by the works of the law, or by the hearing of faith?
The Holy Bible: King James Version, Electronic Edition of the 1900 Authorized Version. (Bellingham, WA: Logos Research Systems, Inc., 2009), Ga 3.
We see that someone was telling the Gentiles that they had to be circumcised and keep the Law of Moses. Paul equates keeping the Law with the works of the flesh or keeping ordinances. He's asking the Galatians, did you receive the Spirit through faith or through keeping the righteous deeds of the Law? He's clearly contrasting being saved by faith or being saved by works. It's abundantly clear that these works are the works of the Mosaic Law.