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, [1] 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.

Matthew Henry's Commentary on Genesis 21:23-34

Commentary on Genesis 21:22-34

(Read Genesis 21:22-34)

Abimelech felt sure that the promises of God would be fulfilled to Abraham. It is wise to connect ourselves with those who are blessed of God; and we ought to requite kindness to those who have been kind to us. Wells of water are scarce and valuable in eastern countries. Abraham took care to have his title to the well allowed, to prevent disputes in future. No more can be expected from an honest man than that he be ready to do right, as soon as he knows he has done wrong. Abraham, being now in a good neighbourhood, stayed a great while there. There he made, not only a constant practice, but an open profession of his religion. There he called on the name of the Lord, as the everlasting God; probably in the grove he planted, which was his place of prayer. Abraham kept up public worship, in which his neighbours might join. Good men should do all they can to make others so. Wherever we sojourn, we must neither neglect nor be ashamed of the worship of Jehovah.