Verses 17-25:
Isaac offered no resistance to Abimelech’s demand that he move from the land. This reminds of the New Testament principle of nonresistance to certain violent acts (Mt 5:5; Ro 12:17, 18; Heb 12:14; 1Pe 3:9). He camped in the valley of Gerar, a site identified as a few miles southeast of Gaza. There he re-opened the wells which Abraham had Jigged many years earlier. The Philistines had violated the treaty between Abimelech and Abraham by stopping up these wells (Ge 21:23). The first of these was an artesian well.
The men of Gerar envied this well, and they picked a quarrel with Isaac’s servants. They lay claim to the well, even though there was no legal justification for their doing so. Isaac named the well "Esek," which means "strife." The strife was on the part of the men of Gerar, not Isaac. He and his servants moved on from the flowing well Esek to another site.
At the next site there was a repetition of events. The herdmen of Gerar again picked a quarrel with Isaac’s servants. And again the man of God moved on rather than to enter into strife. He named this second well "Sitnah," which means "confusion," the same root word from which "Satan" comes.
Finally, Isaac found a spot where the herdsmen of Gerar would not trouble him. He dug another well, and named it Rehoboth, "wide spaces," for it was here the Lord made "room" for him. The strife and contention which Isaac experienced at the various wells was the means God used to move him to the place He wanted him to be. Isaac was not to dwell permanently in the land of the Philistines, in and around Gerar. He must be in the Land God had promised and the only way he would go there was the way God employed: to make his situation so uncomfortable that he would move to where God wanted him to be.
How long Isaac remained in Rehoboth we are not told. When he left there, he journeyed to a site where Abraham had spent many years: Beer-sheba. Here Jehovah renewed with him the covenant He had formerly made with his father, and which He had affirmed before Isaac had gone to Gerar.