And Isaac departed thence, and pitched his tent in the valley of Gerar, and dwelt there. And Isaac digged again the wells of water, which they had digged in the days of Abraham his father; for the Philistines had stopped them after the death of Abraham: and he called their names after the names by which his father had called them. And Isaac's servants digged in the valley, and found there a well of springing water. And the herdmen of Gerar did strive with Isaac's herdmen, saying, The water is our's: and he called the name of the well Esek; because they strove with him. And they digged another well, and strove for that also: and he called the name of it Sitnah. And he removed from thence, and digged another well; and for that they strove not: and he called the name of it Rehoboth; and he said, For now the LORD hath made room for us, and we shall be fruitful in the land.
And he went up from thence to Beer-sheba. And the LORD appeared unto him the same night, and said, I am the God of Abraham thy father: fear not, for I am with thee, and will bless thee, and multiply thy seed for my servant Abraham's sake. And he builded an altar there, and called upon the name of the LORD, and pitched his tent there: and there Isaac's servants digged a well.
Then Abimelech went to him from Gerar, and Ahuzzath one of his friends, and Phichol the chief captain of his army. And Isaac said unto them, Wherefore come ye to me, seeing ye hate me, and have sent me away from you? And they said, We saw certainly that the LORD was with thee: and we said, Let there be now an oath betwixt us, even betwixt us and thee, and let us make a covenant with thee; that thou wilt do us no hurt, as we have not touched thee, and as we have done unto thee nothing but good, and have sent thee away in peace: thou art now the blessed of the LORD. And he made them a feast, and they did eat and drink. And they rose up betimes in the morning, and sware one to another: and Isaac sent them away, and they departed from him in peace. And it came to pass the same day, that Isaac's servants came, and told him concerning the well which they had digged, and said unto him, We have found water. And he called it Shebah: therefore the name of the city is Beer-sheba unto this day.
And Esau was forty years old when he took to wife Judith the daughter of Beeri the Hittite, and Bashemath the daughter of Elon the Hittite: which were a grief of mind unto Isaac and to Rebekah.