You say Gal 2 does not speak to good works. The context of the law is that what we do / obedience to say the Sabbath earns us points with God. Paul smashes that theory into the ground in
Gal 2:21. Now we come and teach '''you MUST feed the poor''. Uhm Hell No. There is no ''MUST'' after we are saved.
This is why you are lost. First of all the Galatians is about circumcision. That's "the law". Not the commandments.
Gal 2:2; It was because of a revelation that I went up; and I submitted to them the gospel which I preach among the Gentiles, but I did so in private to those who were of reputation, for fear that I might be running, or had run, in vain.
Gal 2:3; But not even Titus, who was with me, though he was a Greek,
was compelled to be circumcised.
Gal 2:4; But it was because of the false brethren secretly brought in, who had sneaked in to spy out our liberty which we have in Christ Jesus, in order to bring us into bondage.
Gal 2:5; But we did not yield in subjection to them for even an hour, so that the truth of the gospel would remain with you.
Gal 2:11; But when Cephas came to Antioch, I opposed him to his face, because he stood condemned.
Gal 2:12; For prior to the coming of certain men from James, he used to eat with the Gentiles; but when they came, he began to withdraw and hold himself aloof,
fearing the party of the circumcision.
Gal 3:2; This is the only thing I want to find out from you: did you receive the Spirit by the works of the Law, or by hearing with faith?
Gal 3:3; Are you so foolish? Having begun by the Spirit,
are you now being perfected by the flesh?
Gal 5:1; It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery.
Gal 5:2; Behold I, Paul, say to you
that if you receive circumcision, Christ will be of no benefit to you.
Gal 5:3; And I testify again to
every man who receives circumcision, that he is under obligation to keep the whole Law.
Gal 5:4; You have been severed from Christ, you who are seeking to be justified by law; you have fallen from grace.
Gal 5:5; For we through the Spirit, by faith, are waiting for the hope of righteousness.
Gal 5:6; For
in Christ Jesus neither circumcision nor uncircumcision means anything, but faith working through love.
Gal 5:12; I wish that those who are troubling you
would even mutilate themselves.
Gal 6:11; See with what large letters I am writing to you with my own hand.
Gal 6:12; Those who desire to make a good showing in the flesh
try to compel you to be circumcised, simply so that they will not be persecuted for the cross of Christ.
Gal 6:13; For
those who are circumcised do not even keep the Law themselves, but they desire to have you circumcised so that they may boast in your flesh.
Gal 6:14; But may it never be that I would boast, except in the cross of our Lord Jesus Christ, through which the world has been crucified to me, and I to the world.
Gal 6:15; For
neither is circumcision anything, nor uncircumcision, but a new creation.
When Paul is talking about the law in Galatians, he is talking about circumcision, animal sacrifice and priests... not the commandments.