Genesis 26:24-29
English Standard Version
Chapter 26
24And the Lord appeared to him the same night and said, "I am the God of Abraham your father. Fear not, for I am with you and will bless you and multiply your offspring for my servant Abraham 's sake." 25So he built an altar there and called upon the name of the Lord and pitched his tent there. And there Isaac 's servants dug a well.
26When 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 said, let there be a sworn pact between us, between you and us, and let us make a covenant with you,
29that 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."