1 The LORD attended to Sarah as he had said, and the LORD did for Sarah what he had promised.
2 Sarah conceived and bore a son to Abraham in his old age, at the appointed time God had told him.
3 Abraham named the son born to him, whom Sarah bore him, Isaac.
4 When his son Isaac was eight days old, Abraham circumcised him, as God had commanded him.
5 Abraham was a hundred years old at the birth of his son Isaac.
6 Sarah said, "God has brought me laughter; all who hear will laugh along with me."
7 And she said, "Who would have told Abraham that Sarah would nurse children? Yet I have borne a son in his old age."
8 The child grew and was weaned, and on the day Isaac was weaned Abraham held a great feast.
9 Sarah saw the son whom Hagar the Egyptian had borne to Abraham making sport.
10 She said to Abraham, "Cast out this slave woman and her son, for the son of this slave woman will not inherit along with my son Isaac."
11 This troubled Abraham greatly because of his son.
12 But God said to Abraham, "Do not be troubled over the boy and your slave woman. In all that Sarah tells you, listen to her voice, for it is through Isaac that your seed will be named.
13 Yet I will make the son of the slave woman into a nation as well, because he is your seed."
14 Abraham got up early in the morning, took bread and a skin of water, and gave them to Hagar, placing them on her shoulder; he gave her the child and sent her away. She went off and wandered about in the wilderness of Beersheba.
15 When the water in the skin was used up, she left the child under one of the shrubs.
16 Then she went and sat down at a distance across from him, about a bowshot away, for she said, "Do not let me see the child die." As she sat across from him, she raised her voice and wept.
17 God heard the boy's voice, and the angel of God called to Hagar from heaven and said to her, "What is wrong, Hagar? Do not fear, for God has heard the voice of the boy there where he is.
18 Get up, lift the boy and take firm hold of him, for I will make him into a great nation."
19 Then God opened her eyes, and she saw a well of water; she went, filled the skin with water, and let the boy drink.
20 God was with the boy, and he grew; he lived in the wilderness and became a bowman.
21 He made his home in the wilderness of Paran, and his mother got him a wife from the land of Egypt.
22 About that time Abimelech, together with Phicol the commander of his army, said to Abraham, "God is with you in everything you do.
23 So now swear to me here by God that you will not deal falsely with me, my children, or my descendants; but as I have shown kindness to you, so you will show kindness to me and to the land in which you have lived as a foreigner."
24 Abraham said, "I swear it."
25 But Abraham complained to Abimelech about a well of water that Abimelech's servants had taken by force.
26 Abimelech said, "I do not know who did this; you never told me, nor did I hear of it except today."
27 Abraham took sheep and cattle and gave them to Abimelech, and the two of them made a covenant.
28 Then Abraham set seven ewe lambs of the flock apart by themselves.
29 Abimelech asked Abraham, "What are these seven ewe lambs that you have set apart by themselves?"
30 He replied, "You are to accept these seven ewe lambs from my hand as a testimony for me that I dug this well."
31 That is why that place was named Beersheba, because the two of them swore an oath there.
32 Thus they made a covenant at Beersheba; then Abimelech and Phicol the commander of his army got up and went back to the land of the Philistines.
33 Abraham planted a tamarisk at Beersheba, and there he called upon the name of the LORD, the Everlasting God.
34 And Abraham lived as a foreigner in the land of the Philistines for many days.