There was another famine in the land in addition to the one that had occurred in Abraham’s time. And Isaac went to Abimelech, king of the Philistines, at Gerar. The LORD appeared to him and said, “Do not go down to Egypt. Live in the land that I tell you about; stay in this land as a foreigner, and I will be with you and bless you. For I will give all these lands to you and your offspring, and I will confirm the oath that I swore to your father Abraham. I will make your offspring as numerous as the stars of the sky, I will give your offspring all these lands, and all the nations of the earth will be blessed by your offspring, because Abraham listened to My voice and kept My mandate, My commands, My statutes, and My instructions.” So Isaac settled in Gerar.
When the men of the place asked about his wife, he said, “She is my sister,” for he was afraid to say “my wife,” thinking, “The men of the place will kill me on account of Rebekah, for she is a beautiful woman.” When Isaac had been there for some time, Abimelech king of the Philistines looked down from the window and was surprised to see Isaac caressing his wife Rebekah.
Abimelech sent for Isaac and said, “So she is really your wife! How could you say, ‘She is my sister’? ”
Isaac answered him, “Because I thought I might die on account of her.”
Then Abimelech said, “What is this you’ve done to us? One of the people could easily have slept with your wife, and you would have brought guilt on us.” So Abimelech warned all the people with these words: “Whoever harms this man or his wife will certainly die.”
Isaac sowed seed in that land, and in that year he reaped a hundred times what was sown. The LORD blessed him, and the man became rich and kept getting richer until he was very wealthy. He had flocks of sheep, herds of cattle, and many slaves, and the Philistines were envious of him. The Philistines stopped up all the wells that his father’s slaves had dug in the days of his father Abraham, filling them with dirt. And Abimelech said to Isaac, “Leave us, for you are much too powerful for us.”
So Isaac left there, camped in the Valley of Gerar, and lived there. Isaac reopened the water wells that had been dug in the days of his father Abraham and that the Philistines had stopped up after Abraham died. He gave them the same names his father had given them. Then Isaac’s slaves dug in the valley and found a well of spring water there. But the herdsmen of Gerar quarreled with Isaac’s herdsmen and said, “The water is ours! ” So he named the well Quarrel because they quarreled with him. Then they dug another well and quarreled over that one also, so he named it Hostility. He moved from there and dug another, and they did not quarrel over it. He named it Open Spaces and said, “For now the LORD has made room for us, and we will be fruitful in the land.”
From there he went up to Beer-sheba, and the LORD appeared to him that night and said, “I am the God of your father Abraham. Do not be afraid, for I am with you. I will bless you and multiply your offspring because of My servant Abraham.”
So he built an altar there, called on the name of Yahweh, and pitched his tent there. Isaac’s slaves also dug a well there.