Then when he says, "Whilst we have time, let us work good to all men," he advises everyone to minister, saying: Since we shall reap, not failing, then "whilst we have time", i.e., in this life, which is the time for sowing: "I must work the works of him that sent me, whilst it is day: the night cometh, when no man can work" (Jn 9:4); "Whatsoever thy hand is able to do, do it earnestly; for neither work nor reason nor wisdom nor knowledge shall be in hell whither thou art hastening" (Sir 9:10). As long, I say, as we have time, "let us work good," and this to all men who are bound to us through ...a divine likeness, inasmuch as all of us have been made to the image of God.
But this seems to be contrary to Sirach (12:5): "Give to the good and receive not the sinner." Therefore we are not obliged to do good to everyone. I answer that in the sinner are two things: namely, his nature and his guilt. Now the nature in everyone, including an enemy, must be loved and upheld: "Love your enemies" (Mt 5:44). But the guilt in them is to be shunned. Therefore, when it is said, "Give to the just and receive not the sinner," the meaning is that you ought not to do good to the sinner precisely as he is a sinner, but because he is a human being. Hence Augustine says: "Be not remiss in judging, or inhuman in helping. Therefore, in evil men let us attack their sin, but show mercy to our common condition."
But because we cannot do good to everyone, he presents the order in which it is to be done, when he adds: "but especially to those who are of the household of the faith," who, namely, are not only akin to us in nature but united by faith and grace: "You are no more strangers and foreigners: but you are fellow citizens of the saints and the domestics of God" (Eph 2:19). Therefore mercy must be extended to everyone but preferably to the just who share in the faith, because it is said: "But if any man have not care of his own and especially those of his house, he hath denied the faith and is worse than an infidel" (1 Tim 5:8).
But here it might be asked whether it is lawful to love one more than another. To answer this, it should be noted that love can be called greater or less in two ways. In one way, from the standpoint of the object; in another, from the intensity of the act. For to love someone is to will good to him. Accordingly, one can love one person more than another, either because he wills him a greater good, which is the object of love, or because he more intensely wills him a good, i.e., with a more intense love. Therefore, with respect to the first, we ought to love everyone equally, because we ought to wish the good of eternal life to everyone; but with respect to the second, it is not necessary that we love all equally, because since the intensity of an act results from the principle of the action, and the principle of the action is union and similarity, we ought to love in a higher degree and more intensely those who are more like us and more closely united to us.
Source: Commentary on Galatians