Genesis 21:11-12
21:11 Sarah’s demand displeased Abraham greatly because Ishmael was his son.
21:12 But God said to Abraham, “Do not be upset about the boy or your slave wife. Do all that Sarah is telling you because through Isaac your descendants will be counted.