“Now we, brethren, as Isaac was, are children of promise. But, as he who was born according to the flesh then persecuted him who was born according to the Spirit, even so it is now. Nevertheless what does the Scripture say? ‘Cast out the bondwoman and her son, for the son of the bondwoman shall not be heir with the son of the freewoman.’ So then, brethren, we are not children of the bondwoman but of the free.”
Paul now applies his illustration in verses 21-27 to the Galatians (Ga 4:28-31).
4:28
Now we, brethren, as Isaac was, are children of promise.
Paul now applies the illustration in verses 21-27 to the Galatians and, by extension, to all Christians (“brethren”). He makes three comparisons.
First, Paul compares Isaac’s physical birth to the Galatians’ spiritual birth (“children of the promise”). Individuals become Christians through “promise.” Isaac came into this world because of a “promise” to Abraham. People become Christians and live the Christian life by the promise of God’s grace. The central point of Isaac’s birth is that it depended entirely on God, for it was God’s work, not the result of Abraham or Sarah. On the other hand, Ishmael’s birth was only the work of human beings.
4:29
But, as he who was born according to the flesh then persecuted him who was born according to the Spirit,
The second comparison is Ishmael’s harassment of Isaac (Genesis 21:8-10). Ishmael was an Arab. This conflict between the Arab (Ishmael) and the Jew (Isaac) continues today.
even so it is now.
Legalists always persecute grace-oriented people because grace and legalism are polar opposites. Christians should expect opposition from legalists. It is amazing how people hate God’s grace.
4:30
Nevertheless what does the Scripture say? “Cast out the bondwoman and her son, for the son of the bondwoman shall not be heir with the son of the freewoman.”
Paul makes a third comparison between Abraham expelling Hagar and Ishmael and Christians’ responsibility to reject legalism. Paul alludes to Sarah’s words, “Cast out the bondwoman” (Genesis 21:10). The Galatian Christians needed to deal firmly with legalistic Judaizers. They must “cast” legalism out of their midst. Legalism and grace cannot coexist because one negates the other.
Without grace, people have no hope. All that is left is for God to throw them out. We cannot receive anything from God except through grace.
4:31
So then, brethren, we are not children of the bondwoman but of the free.”
Dynamic Christians follow grace, not legalism. Grace-oriented people trust in Christ alone, by faith alone. They are, therefore, free in their relationship to God because of Christ.
Principle:
Grace and legalism cannot coexist.
Application:
Grace and legalism cannot coexist. The very idea of the one excludes the other. Either we please God by what we do, or we appropriate what Christ did to please God. It is either one or the other, not both.
Legalists do not favor grace-oriented people because grace humbles the believer. Legalism points to the self and self-righteousness. Grace points to Christ’s finished work. One is self-effort; the other is Christ-effort. The two ideas are diametrically opposed. We tend to confuse the two. They are as different as black and white, yet some Christians try to merge them. The law always presents stipulations for fellowship with God. Grace has no provisos. Legalists hate grace people because it is not trendy to humble one’s pride.
Legalism always results in slavery. As long as we have one foot in grace and one foot in legalism, we are in bondage. Christ redeemed us from the curse of the law. Returning to the law, we diminish the significance of Christ’s death for our sins.

Awesome explanation
This makes these verses so much clearer. My Jack Hayford Study Bible gives the same explanation. I thought it was strictly referring to the fact that the Seed of promise was from Jacob (Isaac), and the bondsman was from Ishmael (the Arabs). Now I understand Paul is discussing Grace versus law.