Genesis 21:31

So that place was called Beersheba, because the two men swore an oath there.

(New International Version)

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

(New American Standard Bible)

Wherefore he called that place Beersheba; because there they sware both of them.

(King James Version)