18 Isaac dug again the wells which were dug in the days of his father Abraham but had been clogged up by the Philistines after Abraham's death. And he renamed them, using the original names his father had given them. 19 One day, as Isaac's servants were digging in the valley, they came on a well of spring water. 20 The shepherds of Gerar quarreled with Isaac's shepherds, claiming, "This water is ours." So Isaac named the well Esek (Quarrel) because they quarreled over it. 21 They dug another well and there was a difference over that one also, so he named it Sitnah (Accusation). 22 He went on from there and dug yet another well. But there was no fighting over this one so he named it Rehoboth (Wide-Open Spaces), saying, "Now God has given us plenty of space to spread out in the land." 23 From there he went up to Beersheba. 24 That very night God appeared to him and said, I am the God of Abraham your father; don't fear a thing because I'm with you. I'll bless you and make your children flourish because of Abraham my servant. 25 Isaac built an altar there and prayed, calling on God by name. He pitched his tent and his servants started digging 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.