Genesis 21:25

21:25 But Abraham lodged a complaint against Abimelech concerning a well that Abimelech’s servants had seized.

Genesis 26:15-22

26:15 So the Philistines took dirt and filled up all the wells that his father’s servants had dug back in the days of his father Abraham.

26:16 Then Abimelech said to Isaac, “Leave us and go elsewhere, for you have become much more powerful than we are.” 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.”