1 Now a famine happened in the land, besides the first famine that had been in the days of Abraham. Isaac went to Abimelek, king of the Philistines at Gerar.
2 Now Yahweh appeared to him and said, "Do not go down to Egypt; live in the land that I tell you to live in. 3 Stay in this very land, and I will be with you and will bless you; for to you and to your descendants, I will give all these lands, and I will fulfill the oath that I swore to Abraham your father.
4 I will multiply your descendants like the stars of heaven, and will give to your descendants all these lands. Through your descendants all the nations of the earth will be blessed. 5 I will do this because Abraham obeyed my voice and kept my instructions, my commandments, my statutes, and my laws."
6 So Isaac settled in Gerar. 7 When the men of the place asked him about his wife, he said, "She is my sister." He feared to say, "She is my wife," because he thought, "The men of this place will kill me to get Rebekah, because she is so beautiful." 8 After Isaac had been there a long time, Abimelek king of the Philistines happened to look out of a window. He saw, behold, Isaac was caressing Rebekah, his wife.
9 Abimelek called Isaac to him and said, "Look, certainly she is your wife. Why did you say, 'She is my sister'?" Isaac said to him, "Because I thought someone might kill me to get her." 10 Abimelek said, "What is this you have done to us? One of the people might easily have lain with your wife, and you would have brought guilt upon us." 11 So Abimelek warned all the people and said, "Whoever touches this man or his wife will surely be put to death."
12 Isaac planted crops in that land and reaped in the same year a hundredfold, because Yahweh blessed him. 13 The man became rich, and grew more and more until he became very great. 14 He had many sheep and cattle, and a large household. The Philistines envied him.
15 Now all the wells that his father's servants had dug in the days of Abraham his father, the Philistines stopped them up by filling them with earth. 16 Abimelek said to Isaac, "Go away from us, for you are much mightier than we." 17 So Isaac departed from there and settled in the Valley of Gerar, and lived there.
18 Once again Isaac dug out the wells of water, which they had dug in the days of Abraham his father. The Philistines had stopped them up after Abraham's death. Isaac called the wells by the same names that his father had called them.
19 When Isaac's servants dug in the valley, they found there a well of flowing water. 20 The herdsmen of Gerar quarreled with Isaac's herdsmen, and said, "This water is ours." So Isaac called that well "Esek," because they had quarreled with him.
21 Then they dug another well, and they quarreled over that, too, so he gave it the name of "Sitnah." 22 He left there and dug yet another well, but they did not quarrel over that one. So he called it Rehoboth, and he said, "Now Yahweh has made room for us, and we will prosper in the land."
23 Then Isaac went up from there to Beersheba. 24 Yahweh appeared to him that same night and said, "I am the God of Abraham your father. Do not fear, for I am with you and will bless you and multiply your descendants, for my servant Abraham's sake." 25 Isaac built an altar there and called on the name of Yahweh. There he pitched his tent, and his servants dug a well.
26 Then Abimelek went to him from Gerar, with Ahuzzath, his friend, and Phicol, the captain of his army. 27 Isaac said to them, "Why are you coming to me, since you hate me and have sent me away from you?"
28 Then they said, "We have clearly seen that Yahweh has been with you. So we decided that there should be an oath between us, yes, between us and you. So let us make a covenant with you, 29 that you will do us no harm, just as we have not harmed you, and as we have treated you well and have sent you away in peace. Indeed, you are blessed by Yahweh."
30 So Isaac made a feast for them, and they ate and drank. 31 They rose early in the morning and swore an oath with each other. Then Isaac sent them away, and they left him in peace.
32 That same day Isaac's servants came and told him about the well that they had dug. They said, "We have found water." 33 He called the well Shibah, so the name of that city is Beersheba to this day.
34 When Esau was forty years old, he took a wife, Judith the daughter of Beeri the Hittite, and also Basemath the daughter of Elon the Hittite. 35 They brought sorrow to Isaac and Rebekah.