Then when he says: "Am I then become your enemy, because I tell you the truth?", he states the cause of a supposed hatred.
First, the cause on the part of the Apostle;
Secondly, on the part of the false brethren (v. 17).
He says therefore: If you have done me so much good, are you to believe that "I am become your enemy because I tell you the truth?" The word "enemy" used here can be interpreted in two ways: in one way as meaning that he hates them; in this case the interpretation is "have I become your enemy," i.e., hate you? Hence what follows, namely, "because I tell you the truth," can ...be taken as an indication of hatred, even though telling the truth at the proper time and place is a sign of love. In another way, the word "enemy" can be taken in a passive sense, i.e., so that he is hated by them; then "have I become your enemy" is interpreted as "Do you hate me?" and this because I tell you the truth, so that telling the truth is set down as the cause of hatred. For men who tell the truth are hated by evil men, since the truth engenders hatred: "They have hated him that rebuketh in the gate: and I have abhorred him that speaketh perfectly" (Am 5:10).
But on the other hand, it is said in Proverbs (28:23): "He that rebuketh a man shall afterward find favor with him more than he that by a flattering tongue deceiveth him." I answer that the solution to this can be gathered from what is said in Proverbs (9:9): "Rebuke not a scorner, lest he hate thee. Rebuke a wise man and he will love thee." For if the one corrected loves the corrector, it is a sign of virtue; conversely, it is a sign of malice, if he should hate him. For since a man naturally hates what is contrary to what he loves, then if you hate one who corrects you for evil, it is obvious that you love the evil; but if you love him, you indicate that you hate sin. For at first, when men are corrected, they are attached to their sins—that is why a sinner's first reaction is to hate the one correcting him; but after the correction he puts aside his attachment to sin and loves the one correcting him. And therefore the passage from Proverbs expressly says that later he will find favor with him.
Source: Commentary on Galatians