Then when he says, "It is written that Abraham had two sons," he sets forth his intention, saying: The reason I ask whether you have read the Law is that it contains certain things which clearly indicate that the Law must not be retained. And the Apostle mentions specifically the two sons of Abraham. First, he states one point in which they are alike. Secondly, two points in which they differ.
They are alike in having the same father. Hence he says, "It is written that Abraham had two sons." In fact he had more than two, because after Sara's death, he fathered other sons of Cetura, as is stat...ed in Genesis (Ch. 25). But the Apostle does not mention them because they have no role in this allegory. Now two peoples, the Jews and the Gentiles, can be signified by those two, i.e., the son of the bondwoman and the son of the free woman—and by the other sons of Cetura, schismatics and heretics. These two peoples are alike in having one father, for the Jews are the children of Abraham according to the flesh, but the Gentiles, by imitating him in faith. Or, they are the sons of Abraham, i.e., of God, Who is the Father of all: "Have we not all one father?" (Mal 2:10); "Is he the God of the Jews only?" (Rom 3:29).
But they differ in two respects: namely, in the condition of their mother, because one is of a bondwoman, as is said in Genesis (Ch. 21) (yet Abraham did not sin by lying with her, because he approached her in conjugal affection and under God's ordinance); the other, namely, Isaac, whom Sara, his wife, begot unto him was born of a free woman: "I will return and come to thee at this time, life accompanying, and Sara thy wife shall have a son" (Gen 18:10).
Source: Commentary on Galatians