Tisn't, Dino. Going to post snippets of scripture to save on character space but please read the entire passage referenced.
James 2:1-13
1 My brethren, have not the faith of our Lord Jesus Christ, the Lord of glory, with respect of persons...
[...]
10 For whosoever shall keep the whole law, and yet offend in one point, he is guilty of all. For he that said, Do not commit adultery, said also, Do not kill. Now if thou commit no adultery, yet if thou kill, thou art become a transgressor of the law.
Romans 2:17-23
Behold, thou art called a Jew, and restest in the law, and makest thy boast of God, And knowest his will, and approvest the things that are more excellent, being instructed out of the law;
19 And art confident that thou thyself art a guide of the blind, a light of them which are in darkness, An instructor of the foolish, a teacher of babes, which hast the form of knowledge and of the truth in the law.
21 Thou therefore which teachest another, teachest thou not thyself? thou that preachest a man should not steal, dost thou steal? Thou that sayest a man should not commit adultery, dost thou commit adultery? thou that abhorrest idols, dost thou commit sacrilege?
23 Thou that makest thy boast of the law, through breaking the law dishonourest thou God?
25 For circumcision verily profiteth, if thou keep the law: but if thou be a breaker of the law, thy circumcision is made uncircumcision.
Paul and James were speaking against the hypocrisy of would-be teachers of the law who were being partial to it (that's what the phrase "whole law" means; don't be partial)...just like Messiah did:
Mathew 23:23-28
23 Woe unto you, scribes and Pharisees, hypocrites! for ye pay tithe of mint and †anise and cummin, and have omitted the weightier matters of the law, judgment, mercy, and faith: these ought ye to have done, and not to leave the other undone. 24 Ye blind guides, which strain at a gnat, and swallow a camel.
25 Woe unto you, scribes and Pharisees, hypocrites! for ye make clean the outside of the cup and of the platter, but within they are full of extortion and excess. 26 Thou blind Pharisee, cleanse first that which is within the cup and platter, that the outside of them may be clean also.
27 woe unto you, scribes and Pharisees, hypocrites! for ye are like unto whited sepulchres, which indeed appear beautiful outward, but are within full of dead men’s bones, and of all uncleanness. 28 Even so ye also outwardly appear righteous unto men, but within ye are full of hypocrisy and iniquity.
Meanwhile, in Galatians, Paul is addressing a different matter. His point was one no longer needs to perform the tasks of cleansing sin & iniquity (these tasks or "works" MUST happen after each sin that is committed). These were known as the "works" which included: Separating from "unclean" people, cleansings, blood rites, etc. Also found in the law, these "tasks" were what Israel was commanded to do as a rehearsal until the One comes whose job it was to actually do them forreal to cleanse their sin.
...and once He does them, those "tasks"; those works of cleansing sin & iniquity are no longer required to be done because the Person whose tasks they ARE as high priest is currently doing them, in heaven...to continue to do so is to not have faith in Christ doing the work (faith, because we can not see Him doing them).
In the law there are:
A) The Commandments to obey to not commit sin = to REMAIN "just" in the eyes of the law = Our job
B) The Works to perform to settle sin once committed = To RESTORE one's right standing with the law = Justification =Christ's Job
The controversy is mentioned in Galatians 2:11
11 But when Peter was come to Antioch, I withstood him to the face, because he was to be blamed. 12 For before that certain came from James, he did eat with the Gentiles: but when [The Jews] were come, he withdrew and separated himself, fearing them which were of the circumcision.
...and being a leader, the rest of the Jews who were with Peter followed suit...
Gal 2:13
And the other Jews dissembled likewise with him; insomuch that Barnabas also was carried away with their dissimulation.
Paul explains his point in Galatians 2:15-16
15 We who are Jews by nature, and not sinners of the Gentiles, Knowing 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.
Again Justified means To RESTORE one's right standing with the law after they have sinned. Because the "tasks" were only rehearsals representing the work the Messiah would do in heaven, the only way to restore one's right standing with the law is to have faith in the Messiah doing the work (because we can't see Him doing them). Faith is the evidence of things not seen.
Also, notice the law requires the shedding of blood to cleanse sin (i.e. death). So by faith in Christ, we also provide that death that satisfies the payment we owe to restore us to right standing. This is why Paul says "through the law, I am dead to the law" in verses 19 and 20. His phrase doesn't mean "the law is dead to me" or that "the law is dead" as I feel some are interpreting it.
Galatians only deals with Part B, the remedy for committed sin; justification. It's not talking about Part A; obedience (i.e., avoiding sinning). This is why EVERYWHERE forgiveness of sin is mentioned the next instructions are to "sin no more", or why scripture says our patience is to "have faith" (in Christ, for justification) and "obey the commandments". When we are made right we are to walk rightly (as we are given all the gifts to do so after being saved: grace, Holy Spirit, mercy, 5-fold ministry, etc).
Romans 2:12-13
For as many as have sinned without law shall also perish without law: and as many as have sinned in the law shall be judged by the law; 13 For not the hearers of the law are just before God, but the doers of the law shall be justified.