261There was another famine in the land besides the earlier one during the time of Abraham. Isaac went to Abimelech, king of the Philistines, at Gerar. 2The LORD had appeared to Isaac and had said, “Do not go to Egypt; stay in this land, where I tell you to stay. 3
Live here, and I will be with you and bless you. I am going to give all this territory to you and to your descendants. I will keep the promise I made to your father Abraham. 4I will give you as many descendants as there are stars in the sky, and I will give them all this territory. All the nations will ask me to bless them as I have blessed your descendants. 5I will bless you, because Abraham obeyed me and kept all my laws and commands.”
6So Isaac lived at Gerar. 7
When the men there asked about his wife, he said that she was his sister. He would not admit that she was his wife, because he was afraid that the men there would kill him to get Rebecca, who was very beautiful. 8When Isaac had been there for some time, King Abimelech looked down from his window and saw Isaac and Rebecca making love. 9Abimelech sent for Isaac and said, “So she is your wife! Why did you say she was your sister?”
He answered, “I thought I would be killed if I said she was my wife.”
10“What have you done to us?” Abimelech said. “One of my men might easily have slept with your wife, and you would have been responsible for our guilt.” 11Abimelech warned all the people: “Anyone who ill-treats this man or his wife will be put to death.”
12Isaac sowed seed in that land, and that year he harvested a hundred times as much as he had sown, because the LORD blessed him. 13He continued to prosper and became a very rich man. 14Because he had many herds of sheep and cattle and many servants, the Philistines were jealous of him. 15So they filled in all the wells which the servants of his father Abraham had dug while Abraham was alive.
16Then Abimelech said to Isaac, “Leave our country. You have become more powerful than we are.” 17So Isaac left and set up his camp in the Valley of Gerar, where he stayed for some time. 18He dug once again the wells which had been dug during the time of Abraham and which the Philistines had stopped up after Abraham's death. Isaac gave the wells the same names that his father had given them.
19Isaac's servants dug a well in the valley and found water. 20The shepherds of Gerar quarrelled with Isaac's shepherds and said, “This water belongs to us.” So Isaac named the well “Quarrel”.
21Isaac's servants dug another well, and there was a quarrel about that one also, so he named it “Enmity”. 22He moved away from there and dug another well. There was no dispute about this one, so he named it “Freedom”. He said, “Now the LORD has given us freedom to live in the land, and we will be prosperous here.”
23Isaac left and went to Beersheba. 24That night the LORD appeared to him and said, “I am the God of your father Abraham. Do not be afraid; I am with you. I will bless you and give you many descendants because of my promise to my servant Abraham.” 25Isaac built an altar there and worshipped the LORD. Then he set up his camp there, and his servants dug another well.
Abimelech came from Gerar with Ahuzzath his adviser and Phicol the commander of his army to see Isaac. 27So Isaac asked, “Why have you now come to see me, when you were so unfriendly to me before and made me leave your country?”
28They answered, “Now we know that the LORD is with you, and we think that there should be a solemn agreement between us. We want you to promise 29that you will not harm us, just as we did not harm you. We were kind to you and let you leave peacefully. Now it is clear that the LORD has blessed you.” 30Isaac prepared a feast for them, and they ate and drank. 31Early next morning each man made his promise and sealed it with a vow. Isaac said goodbye to them, and they parted as friends.
32On that day Isaac's servants came and told him about the well which they had dug. They said, “We have found water.” 33He named the well “Vow”. That is how the city of Beersheba26.33 Beersheba: This name in Hebrew means “Well of the Vow” or “Well of Seven” (see also 21.31). got its name.
34When Esau was forty years old, he married two Hittite women, Judith the daughter of Beeri, and Basemath the daughter of Elon. 35They made life miserable for Isaac and Rebecca.