19 Isaac's servants dug in the valley and discovered a well of fresh water there. 20 But the herdsmen of Gerar quarreled with Isaac's herdsmen and said, "The water is ours!" So he named the well Esek, because they disputed with him. 21 Then they dug another well, but they quarreled over that one also; so he named it Sitnah. 22 He moved on from there and dug another well, and no one quarreled over it. He named it Rehoboth, saying, "Now the LORD has given us room and we will flourish in the land."
26 Meanwhile, Abimelech had come to him from Gerar, with Ahuzzath his personal adviser and Phicol the commander of his forces. 27 Isaac asked them, "Why have you come to me, since you were hostile to me and sent me away?"
28 They answered, "We saw clearly that the LORD was with you; so we said, 'There ought to be a sworn agreement between us'-between us and you. Let us make a treaty with you 29 that you will do us no harm, just as we did not molest you but always treated you well and sent you away in peace. And now you are blessed by the LORD."