18 And Isaac dug again the wells of water that had been dug in the days of Abraham his father, which the Philistines had stopped after the death of Abraham. And he gave them the names that his father had given them. 19 But when Isaac's servants dug in the valley and found there a well of spring water, 20 the herdsmen of Gerar quarreled with Isaac's herdsmen, saying, "The water is ours." So he called the name of the well Esek,[1] because they contended with him. 21 Then they dug another well, and they quarreled over that also, so he called its name Sitnah.[2] 22 And he moved from there and dug another well, and they did not quarrel over it. So he called its name Rehoboth,[3] saying, "For now the Lord has made room for us, and we shall be fruitful in the land." 23 From there he went up to Beersheba. 24 And the Lord appeared to him the same night and said, "I am the God of Abraham your father. Fear not, for I am with you and will bless you and multiply your offspring for my servant Abraham's sake." 25 So he built an altar there and called upon the name of the Lord and pitched his tent there. And there Isaac's servants dug a well.

Matthew Henry's Commentary on Genesis 26:18-25

Commentary on Genesis 26:18-25

(Read Genesis 26:18-25)

Isaac met with much opposition in digging wells. Two were called Contention and Hatred. See the nature of worldly things; they make quarrels, and are occasions of strife; and what is often the lot of the most quiet and peaceable; those who avoid striving, yet cannot avoid being striven with. And what a mercy it is to have plenty of water; to have it without striving for it! The more common this mercy is, the more reason to be thankful for it. At length Isaac digged a well, for which they strove not. Those that study to be quiet, seldom fail of being so. When men are false and unkind, still God is faithful and gracious; and his time to show himself so is, when we are most disappointed by men. The same night that Isaac came weary and uneasy to Beer-sheba, God brought comforts to his soul. Those may remove with comfort who are sure of God's presence.