At that time Abimelek1 and Phicol the commander of his forces2 said to Abraham, "God is with you in everything you do.3
References for Genesis 21:22
Now swear4 to me here before God that you will not deal falsely with me or my children or my descendants.5 Show to me and the country where you now reside as a foreigner the same kindness I have shown to you."6
References for Genesis 21:23
Abraham said, "I swear it."
Then Abraham complained to Abimelek about a well of water that Abimelek's servants had seized.7
References for Genesis 21:25
But Abimelek said, "I don't know who has done this. You did not tell me, and I heard about it only today."
So Abraham brought sheep and cattle and gave them to Abimelek, and the two men made a treaty.8
References for Genesis 21:27
Abraham set apart seven ewe lambs from the flock,
and Abimelek asked Abraham, "What is the meaning of these seven ewe lambs you have set apart by themselves?"
He replied, "Accept these seven lambs from my hand as a witness9 that I dug this well.10"
References for Genesis 21:30
So that place was called Beersheba,11 because the two men swore an oath12 there.
References for Genesis 21:31
After the treaty13 had been made at Beersheba,14 Abimelek and Phicol the commander of his forces15 returned to the land of the Philistines.16
References for Genesis 21:32
Abraham planted a tamarisk tree17 in Beersheba, and there he called on the name of the LORD,18 the Eternal God.19
References for Genesis 21:33
And Abraham stayed in the land of the Philistines20 for a long time.
References for Genesis 21:34