22 At that time Abimelech, with Phicol the commander of his army, said to Abraham, "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 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." 24 And Abraham said, "I swear it." 25 When Abraham complained to Abimelech about a well of water that Abimelech's servants had seized, 26 Abimelech said, "I do not know who has done this; you did not tell me, and I have not heard of it until today." 27 So Abraham took sheep and oxen and gave them to Abimelech, and the two men made a covenant. 28 Abraham set apart seven ewe lambs of the flock. 29 And Abimelech said to Abraham, "What is the meaning of these seven ewe lambs that you have set apart?" 30 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." 31 Therefore that place was called Beer-sheba; because there both of them swore an oath. 32 When they had made a covenant at Beer-sheba, Abimelech, with Phicol the commander of his army, left and returned to the land of the Philistines.
Matthew Henry's Commentary on Genesis 21:22-32
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.