22 He left there and dug another well, but they didn’t argue about it, so he named it Rehoboth and said, "Now the Lord has made an open space for us and has made us fertile in the land."
23 Then he went up from Gerar to Beer-sheba.
24 The Lord appeared to him that night and said, "I am the God of your father Abraham. Don’t be afraid because I am with you. I will bless you, and I will give you many children for my servant Abraham’s sake."
25 So Isaac built an altar there and worshipped in the Lord’s name. Isaac pitched his tent there, and his servants dug a well.
26 But Abimelech set out toward him from Gerar, with Ahuzzath his ally and Phicol the commander of his forces.
27 Isaac said to him, "Why have you come after me? You resented me and sent me away from you."
28 They said, "We now see that the Lord was with you. We propose that there be a formal agreement between us and that we draw up a treaty with you: