1Now there was a famine in the land, besides the former famine that had occurred in the days of Abraham. And Isaac went to Gerar, to King Abimelech of the Philistines. 2The LORD appeared to Isaac and said, “Do not go down to Egypt; settle in the land that I shall show you. 3Reside in this land as an alien, 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 your father Abraham. 4I will make your offspring as numerous as the stars of heaven, and will give to your offspring all these lands; and all the nations of the earth shall gain blessing for themselves through your offspring, 5because Abraham obeyed my voice and kept my charge, my commandments, my statutes, and my laws.”
6So Isaac settled in Gerar.
12Isaac sowed seed in that land, and in the same year reaped a hundredfold. The LORD blessed him, 13and the man became rich; he prospered more and more until he became very wealthy. 14He had possessions of flocks and herds, and a great household, so that the Philistines envied him. 15(Now the Philistines had stopped up and filled with earth all the wells that his father’s servants had dug in the days of his father Abraham.) 16And Abimelech said to Isaac, “Go away from us; you have become too powerful for us.”
17So Isaac departed from there and camped in the valley of Gerar and settled there. 18Isaac dug again the wells of water that had been dug in the days of his father Abraham; for the Philistines had stopped them up after the death of Abraham; and he gave them the names that his father had given them. 19But when Isaac’s servants dug in the valley and found there a well of spring water, 20the herders of Gerar quarreled with Isaac’s herders, saying, “The water is ours.” So he called the well Esek, because they contended with him. 21Then they dug another well, and they quarreled over that one also; so he called it Sitnah. 22He moved from there and dug another well, and they did not quarrel over it; so he called it Rehoboth, saying, “Now the LORD has made room for us, and we shall be fruitful in the land.”
23From there he went up to Beer-sheba. 24And that very night the LORD appeared to him and said, “I am the God of your father Abraham; do not be afraid, for I am with you and will bless you and make your offspring numerous for my servant Abraham’s sake.” 25So he built an altar there, called on the name of the LORD, and pitched his tent there. And there Isaac’s servants dug a well.
26Then Abimelech went to him from Gerar, with Ahuzzath his adviser and Phicol the commander of his army. 27Isaac said to them, “Why have you come to me, seeing that you hate me and have sent me away from you?” 28They said, “We see plainly that the LORD has been with you; so we say, let there be an oath between you and us, and let us make a covenant with you 29so that you will do us no harm, just as we have not touched you and have done to you nothing but good and have sent you away in peace. You are now the blessed of the LORD.” 30So he made them a feast, and they ate and drank. 31In the morning they rose early and exchanged oaths; and Isaac set them on their way, and they departed from him in peace. 32That same day Isaac’s servants came and told him about the well that they had dug, and said to him, “We have found water!” 33He called it Shibah; therefore the name of the city is Beer-sheba to this day.