Bereishit (Genesis) 26:23—29
23He went up there to Beer-sheva. 24HaShem appeared to him that night and said, “I him the G-d of your father Abraham: Fear not, for I am with you; I will bless you and increase your offspring because of Abraham, My servant.” 25He built an altar there, invoked HaShem by Name, and there he pitched his tent; there Yitzchak’s servants dug a well.
26Abimelech went to him from Gerar with a group of his friends and Phicol, general of his legion. 27Yitzchak said to him, “Why have you come to me? You hate me and drove me away from you!”
28And they said, “We have indeed seen that HaShem has been with you, so we said, ‘Let the oath between ourselves now be between us and you, and let us make a covenant with you: 29If you do evil with us…! Just as we have not molested you, and just as it we have done with you only good, and sent you away in peace–Now, you, O blessed of HaShem!”