During harvest time, three of the thirty chief men came down to David at the cave of Adullam,1 while a band of Philistines was encamped in the Valley of Rephaim.2
References for 2 Samuel 23:13
At that time David was in the stronghold,3 and the Philistine garrison was at Bethlehem.
References for 2 Samuel 23:14
David longed for water and said, "Oh, that someone would get me a drink of water from the well near the gate of Bethlehem!"
So the three mighty men broke through the Philistine lines, drew water from the well near the gate of Bethlehem and carried it back to David. But he refused to drink it; instead, he poured4 it out before the LORD.
References for 2 Samuel 23:16
"Far be it from me, O LORD, to do this!" he said. "Is it not the blood5 of men who went at the risk of their lives?" And David would not drink it. Such were the exploits of the three mighty men.
References for 2 Samuel 23:17