But God said to Abraham, “Don't be worried about the boy and your slave Hagar. Do whatever Sarah tells you, because it is through Isaac that you will have the descendants I have promised.
These things can be understood as a figure: the two women represent two covenants. The one whose children are born in slavery is Hagar, and she represents the covenant made at Mount Sinai.