18 He reopened the wells his father had dug, which the Philistines had filled in after Abraham's death. Isaac also restored the names Abraham had given them. 19 Isaac's servants also dug in the Gerar Valley and discovered a well of fresh water. 20 But then the shepherds from Gerar came and claimed the spring. "This is our water," they said, and they argued over it with Isaac's herdsmen. So Isaac named the well Esek (which means "argument"). 21 Isaac's men then dug another well, but again there was a dispute over it. So Isaac named it Sitnah (which means "hostility"). 22 Abandoning that one, Isaac moved on and dug another well. This time there was no dispute over it, so Isaac named the place Rehoboth (which means "open space"), for he said, "At last the Lord has created enough space for us to prosper in this land." 23 From there Isaac moved to Beersheba, 24 where the Lord appeared to him on the night of his arrival. "I am the God of your father, Abraham," he said. "Do not be afraid, for I am with you and will bless you. I will multiply your descendants, and they will become a great nation. I will do this because of my promise to Abraham, my servant." 25 Then Isaac built an altar there and worshiped the Lord . He set up his camp at that place, and his servants dug another 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.