Genesis 21:31-34 English Standard Version (ESV)

31. Therefore that place was called Beersheba, because there both of them swore an oath.

32. So they made a covenant at Beersheba. Then Abimelech and Phicol the commander of his army rose up and returned to the land of the Philistines.

33. Abraham planted a tamarisk tree in Beersheba and called there on the name of the Lord, the Everlasting God.

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

Genesis 21