Three of the thirty chiefs came down to David to the rock at the cave of Adullam, while a band of Philistines was encamped in the Valley of Rephaim.
References for 1 Chronicles 11:15
At that time David was in the stronghold, and the Philistine garrison was at Bethlehem.
References for 1 Chronicles 11:16
David longed for water and said, “Oh, that someone would get me a drink of water from the well near the gate of Bethlehem!”