Genesis 21:29-32 The Message (MSG)
29 Abimelech said, “What does this mean? These seven sheep you’ve set aside.”
30 Abraham said, “It means that when you accept these seven sheep, you take it as proof that I dug this well, that it’s my well.”
31-32 That’s how the place got named Beersheba (the Oath-Well), because the two of them swore a covenant oath there. After they had made the covenant at Beersheba, Abimelech and his commander, Phicol, left and went back to Philistine territory.