Genesis 21:22-34 - The Covenant Between Abraham And Abimelech

22 It happened at that time, that Abimelech and Phicol the captain of his army spoke to Abraham, saying, "God is with you in all that you do. 23 Now, therefore, swear to 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 to you, you shall do to me, and to the land in which you have lived as a foreigner."

24 Abraham said, "I will swear." 25 Abraham complained to Abimelech because of a water well, which Abimelech's servants had violently taken away.

26 Abimelech said, "I don't know who has done this thing. Neither did you tell me, neither did I hear of it, until today."

27 Abraham took sheep and cattle, and gave them to Abimelech. Those two made a covenant. 28 Abraham set seven ewe lambs of the flock by themselves. 29 Abimelech said to Abraham, "What do these seven ewe lambs which you have set by themselves mean?"

30 He said, "You shall take these seven ewe lambs from my hand, that it may be a witness to me, that I have dug this well." 31 Therefore he called that place Beersheba, because they both swore there. 32 So they made a covenant at Beersheba. Abimelech rose up with Phicol, the captain of his army, and they returned into the land of the Philistines.

33 Abraham planted a tamarisk tree in Beersheba, and called there on the name of Yahweh, the Everlasting God. 34 Abraham lived as a foreigner in the land of the Philistines many days.