Genesis 21:27-32 New American Standard Bible (NASB)

27. Abraham took sheep and oxen and gave them to Abimelech, and the two of them made a covenant.

28. Then Abraham set seven ewe lambs of the flock by themselves.

29. Abimelech said to Abraham, "What do these seven ewe lambs mean, which you have set by themselves?"

30. He said, "You shall take these seven ewe lambs from my hand so that it may be a witness to me, that I dug this well."

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

32. So they made a covenant at Beersheba; and Abimelech and Phicol, the commander of his army, arose and returned to the land of the Philistines.

Genesis 21