Genesis 26:22-27
English Standard Version
23From there he went up to Beersheba.
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.