Above, the Apostle proved the power of faith; now he shows the shortcoming of the Law.
First, through the authority of the Law;
Secondly, through a human custom (v. 15).
Concerning the first, he does three things:
First, he shows the curse brought on by the Law;
Secondly, the Law's inability to remove that curse (v. 11);
Thirdly, the sufficiency of Christ by whom that curse has been removed (v. 13).
In regard to the first he does two things:
First, he sets forth his intended proposition;
Secondly, he proves the proposition (v. 10): For it is written: "Cursed is every one that abideth ...not in all things, which are written in the book of the law to do them."
He says therefore: "For as many as are of the works of the law, are under a curse." For since he had said that they who are of faith will be blessed through being sons of Abraham, someone might say that they are blessed both on account of the works of the Law and on account of faith. Hence to exclude this he says: "As many as are of the works of the law are under a curse."
But against this it can be said that the ancient fathers were of the works of the Law. Therefore they are under a curse and, consequently, damned—which is a Manichean error. Hence it is necessary to understand this correctly. And it should be noted that the Apostle does not say, "As many as observe the works of the Law are under a curse," because this is false when applied to the time of the Law. He says rather: "As many as are of the works of the Law," i.e., whosoever trust in the works of the Law and believe that they are made just by them "are under a curse." For it is one thing to be of the works of the Law and another to observe the Law. The latter consists in fulfilling the Law, so that one who fulfills it is not under a curse. But to be of the works of the Law is to trust in them and place one's hope in them. And they that are of the Law in this way "are under a curse," namely, of transgression; not that the Law produces the curse, for concupiscence does not come from the Law, but the knowledge of sin does, to which we are prone through concupiscence banned by the Law. Therefore, inasmuch as the Law begets a knowledge of sin and offers no help against sin, they are said to be under a curse, since they are powerless to escape it by those works.
Furthermore, some works of the Law are ceremonies carried out in the observances; others are works that pertain to morals, with which the moral precepts deal. Hence, according to a Gloss, that which is said here, namely, "as many as are of the works of the law, are under a curse," is to be understood of ceremonial works and not of moral works. Or it should be said that the Apostle is speaking here of all works, both ceremonial and moral. For the works are not the cause making one to be just before God; rather they are the carrying out and manifestation of justice. For no one is made just before God by works but by the habit of faith, not acquired but infused. And therefore, as many as seek to be justified by works are under a curse, because sin is not removed nor anyone justified in the sight of God by them, but by the habit of faith vivified by charity: "And all these being approved by the testimony of faith, received not the promise" (Heb 11:39).
Then when he says, For it is written: "Cursed is every one, that abideth not in all things, which are written in the book of the law to do them," he proves the proposition which, according to a Gloss, is proved by the fact that no one can keep the Law in the way in which the Law prescribed: "As many as do not keep and do all that is written in the book of the law," i.e., who do not fulfill the whole Law, "cursed shall they be" (Deut 28:15). But it is impossible to fulfill the whole Law, as it is said in the Acts (15:10): "Why tempt you God to put a yoke upon the necks of the disciples which neither our fathers nor we have been able to bear?" Therefore by the works of the Law no one is anything but cursed.
In another way the passage, "For it is written".... can be taken not as a proof of the proposition but as an exposition of the proof. As if to say: I say that they are under a curse, i.e., under that one of which the Law says, "For it is written: Cursed is every one, that abideth not in all things, which are written in the book of the law to do them," where the curse is understood to refer to sin. For the Law commands that good be done and evils avoided, and by commanding it puts one under the obligation without giving the virtue to obey. And hence he says, Cursed, as though placed in contact with evil, is every one, without exception; because, as it is said in the Acts (10:34): "God is not a respector of persons"; "that abideth not" to the end: "He that shall persevere to the end" (Mt 24:13); "in all things," not in some only, because as it is said in James (2:10): "Whosoever shall keep the whole law, but offend in one point, is become guilty of all"; "which are written in the book of the law to do them," not only to believe or will but actually to fulfill them in their works: "A good understanding to all that do it" (Ps 110:10). Yet the holy patriarchs, although they were of the works of the Law, were nevertheless saved by faith in one to come, by trusting in His grace and by fulfilling the Law at least spiritually. "For Moses," says a Gloss, "did indeed command many things which no one could fulfill, in order to tame the pride of the Jews who said: 'There are many willing and able, but no one to command'."
But a difficulty arises about saying "Cursed is every one that abideth not in all things, which are written in the book of the law to do them." For it is said: "Bless, and curse not" (Rom 12:14). I answer that to curse is nothing else but to say evil. I can therefore say that good is evil and evil good, and again, that good is good and evil evil. The first is what the Apostle forbids when he says, "Curse not," i.e., do not say that good is evil and evil good. But the second is lawful. Hence when we denounce sin, we do indeed curse, not by way of calling good evil but by saying that evil is evil. Therefore it is lawful to curse a sinner, i.e., to say that he is addicted to evil or is evil.
Source: Commentary on Galatians