2 Samuel 23:12-15
English Standard Version
13And three of the thirty chief men went down and came about harvest time to David at the cave of Adullam, when a band of Philistines was encamped in the Valley of Rephaim.
14David was then in the stronghold, and the garrison of the Philistines was then at Bethlehem.
15And David said longingly, "Oh, that someone would give me water to drink from the well of Bethlehem that is by the gate!"