Genesis 21:31-34 King James Version (KJV)

31. Wherefore he called that place Beer-sheba; because there they sware both of them.

32. Thus they made a covenant at Beer-sheba: then Abimelech rose up, and Phichol the chief captain of his host, and they returned into the land of the Philistines.

33. And Abraham planted a grove in Beer-sheba, and called there on the name of the Lord, the everlasting God.

34. And Abraham sojourned in the Philistines’ land many days.

Genesis 21