There is a famine in the land, different from the one Abraham lived through. The Lord appears to Isaac and tells him not to go down to Egypt but to stay in the land he will show him. He renews the promise: he will be with Isaac, give him that land, multiply his descendants like the stars, and through them bless all the nations, because Abraham obeyed. Isaac stays in Gerar, under Abimelech, king of the Philistines.
Fearing he will be killed because of Rebekah's beauty, Isaac says she is his sister. One day Abimelech looks out a window and sees Isaac caressing Rebekah, calls him in and rebukes him for exposing the people to guilt. Abimelech orders everyone to leave the couple alone. Isaac sows in that land, reaps a hundredfold and becomes very wealthy, so much so that the Philistines envy him, fill his father's wells with earth, and Abimelech asks him to leave.
Isaac moves on, reopens the wells of Abraham and digs others. Over the first two there is quarreling, and he names them Esek and Sitnah; the third is not contested, and he names it Rehoboth, because now there is room. At Beersheba the Lord appears to him again and reassures him, and Isaac builds an altar. Abimelech, with his adviser Ahuzzath and his army commander Phicol, comes to ask for a peace treaty, because he has seen that the Lord is with Isaac. They eat together, swear an oath and part in peace. Esau, at forty, marries two Hittite women, and they make life bitter for Isaac and Rebekah.