Abraham journeyed from there to the Negev region and settled between Kadesh and Shur. While he lived as a temporary resident in Gerar, Abraham said about his wife Sarah, “She is my sister.” So Abimelech, king of Gerar, sent for Sarah and took her.
But God appeared to Abimelech in a dream at night and said to him, “You are as good as dead because of the woman you have taken, for she is someone else’s wife.”
Now Abimelech had not gone near her. He said, “Lord, would you really slaughter an innocent nation? Did Abraham not say to me, ‘She is my sister’? And she herself said, ‘He is my brother.’ I have done this with a clear conscience and with innocent hands!”
Then in the dream God replied to him, “Yes, I know that you have done this with a clear conscience. That is why I have kept you from sinning against me and why I did not allow you to touch her. But now give back the man’s wife. Indeed he is a prophet and he will pray for you; thus you will live. But if you don’t give her back, know that you will surely die along with all who belong to you.”
Early in the morning Abimelech summoned all his servants. When he told them about all these things, they were terrified. Abimelech summoned Abraham and said to him, “What have you done to us? What sin did I commit against you that would cause you to bring such great guilt on me and my kingdom? You have done things to me that should not be done!” Then Abimelech asked Abraham, “What prompted you to do this thing?”
Abraham replied, “Because I thought, ‘Surely no one fears God in this place. They will kill me because of my wife.’ What’s more, she is indeed my sister, my father’s daughter, but not my mother’s daughter. She became my wife. When God made me wander from my father’s house, I told her, ‘This is what you can do to show your loyalty to me: Every place we go, say about me, “He is my brother.”’”
So Abimelech gave sheep, cattle, and male and female servants to Abraham. He also gave his wife Sarah back to him. Then Abimelech said, “Look, my land is before you; live wherever you please.”
To Sarah he said, “Look, I have given 1,000 pieces of silver to your ‘brother.’ This is compensation for you so that you will stand vindicated before all who are with you.”
Abraham prayed to God, and God healed Abimelech, as well as his wife and female slaves so that they were able to have children. For the Lord had caused infertility to strike every woman in the household of Abimelech because he took Sarah, Abraham’s wife.
The Lord visited Sarah just as he had said he would and did for Sarah what he had promised. So Sarah became pregnant and bore Abraham a son in his old age at the appointed time that God had told him. Abraham named his son—whom Sarah bore to him—Isaac. When his son Isaac was eight days old, Abraham circumcised him just as God had commanded him to do. (Now Abraham was one hundred years old when his son Isaac was born to him.)
Sarah said, “God has made me laugh. Everyone who hears about this will laugh with me.” She went on to say, “Who would have said to Abraham that Sarah would nurse children? Yet I have given birth to a son for him in his old age!”
The child grew and was weaned. Abraham prepared a great feast on the day that Isaac was weaned. But Sarah noticed the son of Hagar the Egyptian—the son whom Hagar had borne to Abraham—mocking. So she said to Abraham, “Banish that slave woman and her son, for the son of that slave woman will not be an heir along with my son Isaac!”
Sarah’s demand displeased Abraham greatly because Ishmael was his son. 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. But I will also make the son of the slave wife into a great nation, for he is your descendant too.”
Early in the morning Abraham took some food and a skin of water and gave them to Hagar. He put them on her shoulders, gave her the child, and sent her away. So she went wandering aimlessly through the wilderness of Beer Sheba. When the water in the skin was gone, she shoved the child under one of the shrubs. Then she went and sat down by herself across from him at quite a distance, about a bowshot, away; for she thought, “I refuse to watch the child die.” So she sat across from him and wept uncontrollably.
But God heard the boy’s voice. The angel of God called to Hagar from heaven and asked her, “What is the matter, Hagar? Don’t be afraid, for God has heard the boy’s voice right where he is crying. Get up! Help the boy up and hold him by the hand, for I will make him into a great nation.” Then God enabled Hagar to see a well of water. She went over and filled the skin with water, and then gave the boy a drink.
God was with the boy as he grew. He lived in the wilderness and became an archer. He lived in the wilderness of Paran. His mother found a wife for him from the land of Egypt.
At that time Abimelech and Phicol, the commander of his army, said to Abraham, “God is with you in all that you do. Now swear to me right here in God’s name that you will not deceive me, my children, or my descendants. Show me, and the land where you are staying, the same loyalty that I have shown you.”
Abraham said, “I swear to do this.” But Abraham lodged a complaint against Abimelech concerning a well that Abimelech’s servants had seized. “I do not know who has done this thing,” Abimelech replied. “Moreover, you did not tell me. I did not hear about it until today.”
Abraham took some sheep and cattle and gave them to Abimelech. The two of them made a treaty. Then Abraham set seven ewe lambs apart from the flock by themselves. Abimelech asked Abraham, “What is the meaning of these seven ewe lambs that you have set apart?” He replied, “You must take these seven ewe lambs from my hand as legal proof that I dug this well.” That is why he named that place Beer Sheba, because the two of them swore an oath there.
So they made a treaty at Beer Sheba; then Abimelech and Phicol, the commander of his army, returned to the land of the Philistines. Abraham planted a tamarisk tree in Beer Sheba. There he worshiped the Lord, the eternal God. So Abraham stayed in the land of the Philistines for quite some time.