Genesis
Chapters 21:31-34
King James Version, American Edition
31Wherefore he called that place Beer–sheba; because there they sware both of them.
32Thus they made a covenant at Beer–sheba: then Abim´elech rose up, and Phichol the chief captain of his host, and they returned into the land of the Philistines.
33And Abraham planted a grove in Beer–sheba, and called there on the name of the Lord, the everlasting God.
34And Abraham sojourned in the Philistines' land many days.