10So she turned to Abraham and demanded, “Get rid of that slave woman and her son. He is not going to share the inheritance with my son, Isaac. I won’t have it!”
12But God told Abraham, “Do not be upset over the boy and your servant. Do whatever Sarah tells you, for Isaac is the son through whom your descendants will be counted.
14So Abraham got up early the next morning, prepared food and a container of water, and strapped them on Hagar’s shoulders. Then he sent her away with their son, and she wandered aimlessly in the wilderness of Beersheba.
17But God heard the boy crying, and the angel of God called to Hagar from heaven, “Hagar, what’s wrong? Do not be afraid! God has heard the boy crying as he lies there.
22About this time, Abimelech came with Phicol, his army commander, to visit Abraham. “God is obviously with you, helping you in everything you do,” Abimelech said.
23“Swear to me in God’s name that you will never deceive me, my children, or any of my descendants. I have been loyal to you, so now swear that you will be loyal to me and to this country where you are living as a foreigner.”
32After making their covenant at Beersheba, Abimelech left with Phicol, the commander of his army, and they returned home to the land of the Philistines.