22 The Scriptures say that Abraham had two sons, one from his slave wife and one from his freeborn wife. 23 The son of the slave wife was born in a human attempt to bring about the fulfillment of God's promise. But the son of the freeborn wife was born as God's own fulfillment of his promise. 24 These two women serve as an illustration of God's two covenants. The first woman, Hagar, represents Mount Sinai where people received the law that enslaved them. 25 And now Jerusalem is just like Mount Sinai in Arabia, because she and her children live in slavery to the law. 26 But the other woman, Sarah, represents the heavenly Jerusalem. She is the free woman, and she is our mother. 27 As Isaiah said, "Rejoice, O childless woman, you who have never given birth! Break into a joyful shout, you who have never been in labor! For the desolate woman now has more children than the woman who lives with her husband!" 28 And you, dear brothers and sisters, are children of the promise, just like Isaac. 29 But you are now being persecuted by those who want you to keep the law, just as Ishmael, the child born by human effort, persecuted Isaac, the child born by the power of the Spirit. 30 But what do the Scriptures say about that? "Get rid of the slave and her son, for the son of the slave woman will not share the inheritance with the free woman's son."

Matthew Henry's Commentary on Galatians 4:22-30

Commentary on Galatians 4:21-27

(Read Galatians 4:21-27)

The difference between believers who rested in Christ only, and those who trusted in the law, is explained by the histories of Isaac and Ishmael. These things are an allegory, wherein, beside the literal and historical sense of the words, the Spirit of God points out something further. Hagar and Sarah were apt emblems of the two different dispensations of the covenant. The heavenly Jerusalem, the true church from above, represented by Sarah, is in a state of freedom, and is the mother of all believers, who are born of the Holy Spirit. They were by regeneration and true faith, made a part of the true seed of Abraham, according to the promise made to him.

Commentary on Galatians 4:28-31

(Read Galatians 4:28-31)

The history thus explained is applied. So then, brethren, we are not children of the bond-woman, but of the free. If the privileges of all believers were so great, according to the new covenant, how absurd for the Gentile converts to be under that law, which could not deliver the unbelieving Jews from bondage or condemnation! We should not have found out this allegory in the history of Sarah and Hagar, if it had not been shown to us, yet we cannot doubt it was intended by the Holy Spirit. It is an explanation of the subject, not an argument in proof of it. The two covenants of works and grace, and legal and evangelical professors, are shadowed forth. Works and fruits brought forth in a man's own strength, are legal. But if arising from faith in Christ, they are evangelical. The first covenant spirit is of bondage unto sin and death. The second covenant spirit is of liberty and freedom; not liberty to sin, but in and unto duty. The first is a spirit of persecution; the second is a spirit of love. Let those professors look to it, who have a violent, harsh, imposing spirit, towards the people of God. Yet as Abraham turned aside to Hagar, so it is possible a believer may turn aside in some things to the covenant of works, when through unbelief and neglect of the promise he acts according to the law, in his own strength; or in a way of violence, not of love, towards the brethren. Yet it is not his way, not his spirit to do so; hence he is never at rest, till he returns to his dependence on Christ again. Let us rest our souls on the Scriptures, and by a gospel hope and cheerful obedience, show that our conversation and treasure are indeed in heaven.