Genesis 21:31

Therefore he called that place Beersheba, because the two of them swore an oath there.

Surrounding context

21:30 And he said, "You will take these seven ewe lambs from my hand, that they may be my witness that I have dug this well."

21:31 Therefore he called that place Beersheba, because the two of them swore an oath there.

21:32 Thus they made a covenant at Beersheba. So Abimelech rose with Phichol, the commander of his army, and they returned to the land of the Philistines.

Translation and sources