At that time Abimelech, with Phicol the commander of his army, said to Abraham, “God is with you in all that you do; now therefore swear to me here by God that you will not deal falsely with me or with my offspring or with my posterity; but as I have dealt loyally with you, you will deal with me and with the land where you have resided as an alien.”
And Abraham said, “I swear it.”
When Abraham complained to Abimelech about a well of water that Abimelich’s servants had seized, Abimelech said, “I do not know who has done this; you did not tell me, and I did not hear of it until today.”
So Abraham took sheep and oxen and gave them to Abimelech; and the two men made a covenant. Abraham set apart seven ewe lambs of the flock. And Abimelech said to Abraham, “What is the meaning of these seven ewe lambs you have set apart?”
He said, “These seven ewe lambs you shall accept from my hand, in order that you may be a witness for me that I dug this well.”
Therefore that place was called Beersheba, because there both of them swore an oath.
When they had made a covenant at Beersheba, Abimelech, with Phicol the commander of his army, left and returned to the land of the Philistines.
Abraham planted a tamarisk tree in Beersheba, and called there on the name of of the Lord, the Everlasting God. And Abraham resided as an alien many days in the land of the Philistines.