Then when he says, "They are zealous in your regard not well," he states another supposed cause, namely, on the part of the false brethren.
First, he states it;
Secondly, he refutes it (v. 18).
As to the first it should be noted that, as has been said above, certain false brethren, converted from Judaism, went about the churches of the Gentiles, preaching the observance of the Law. Because Paul opposed them, they slandered him. They did this not so much with an eye to their salvation as to get rid of Paul. Hence the Apostle says, "They are zealous in your regard," i.e., they do not allow yo...u (whom they love with a love not of friendship but of self-interest) to associate with us. For jealous rivalry is zeal that arises from any love whatsoever and does not brook what is loved to be shared. But because their love for them was not good: first of all, because they did not love them so as to advantage them but for their own gain—and this is obvious from the fact that they wanted to keep the Apostle away from them as one opposed to their own advantage—and secondly, because this was a source of harm to the Gentiles—for they sought from them an advantage by which the latter would suffer harm; for these reasons he says, "They are zealous in your regard but not well," because they are not interested in your welfare. And this is obvious, because "they would exclude you that you might be zealous for them," i.e., that you might admit none but them: "Envy not the unjust man and do not follow his ways" (Prov 3:31); "Let not thy heart envy sinners" (Prov 23:17).
Source: Commentary on Galatians