2 Samuel 23:13-17
13 And 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. 14 David was then in the stronghold, and the garrison of the Philistines was then at Bethlehem. 15 And David said longingly, “Oh, that someone would give me water to drink from the well of Bethlehem that is by the gate!” 16 Then the three mighty men broke through the camp of the Philistines and drew water out of the well of Bethlehem that was by the gate and carried and brought it to David. But he would not drink of it. He poured it out to the Lord 17 and said, “Far be it from me, O Lord, that I should do this. Shall I drink the blood of the men who went at the risk of their lives?” Therefore he would not drink it. These things the three mighty men did.