Genesis 26:17-22

26:17 So Isaac left there and settled in the Gerar Valley. 26:18 Isaac reopened the wells that had been dug back in the days of his father Abraham, for the Philistines had stopped them up after Abraham died. Isaac gave these wells the same names his father had given them.

26:19 When Isaac’s servants dug in the valley and discovered a well with fresh flowing water there, 26:20 the herdsmen of Gerar quarreled with Isaac’s herdsmen, saying, “The water belongs to us!” So Isaac named the well Esek because they argued with him about it. 26:21 His servants dug another well, but they quarreled over it too, so Isaac named it Sitnah. 26:22 Then he moved away from there and dug another well. They did not quarrel over it, so Isaac named it Rehoboth, saying, “For now the Lord has made room for us, and we will prosper in the land.”