And it came to pass at that time, that Abimelech and Phicol the chief captain of his host spoke unto Abraham, saying, God is with you in all that you do: Now therefore swear unto me here by God that you will not deal falsely with me, nor with my son, nor with my son's son: but according to the kindness that I have done unto you, you shall do unto me, and to the land in which you have sojourned. And Abraham said, I will swear. read more.
And Abraham reproved Abimelech because of a well of water, which Abimelech's servants had violently taken away. And Abimelech said, I know not who has done this thing: neither did you tell me, neither yet heard I of it, but today. And Abraham took sheep and oxen, and gave them unto Abimelech; and both of them made a covenant. And Abraham set seven ewe lambs of the flock by themselves. And Abimelech said unto Abraham, What mean these seven ewe lambs which you have set by themselves? And he said, For these seven ewe lambs shall you take of my hand, that they may be a witness unto me, that I have dug this well. Therefore he called that place Beersheba; because there they swore both of them. Thus they made a covenant at Beersheba: then Abimelech rose up, and Phicol the chief captain of his host, and they returned into the land of the Philistines.
And there came one that had escaped, and told Abram the Hebrew; for he dwelt by the oaks of Mamre the Amorite, brother of Eshcol, and brother of Aner: and these were allies with Abram.
And they said, We saw certainly that the LORD was with you: and we said, Let there be now an oath between us, even between us and you, and let us make a covenant with you; That you will do us no hurt, as we have not touched you, and as we have done unto you nothing but good, and have sent you away in peace: you are now the blessed of the LORD. And he made them a feast, and they did eat and drink. read more.
And they rose up early in the morning, and swore one to another: and Isaac sent them away, and they departed from him in peace. And it came to pass the same day, that Isaac's servants came, and told him concerning the well which they had dug, and said unto him, We have found water. And he called it Shibah: therefore the name of the city is Beersheba unto this day.