Once David was at the cave of Adullam, and three of the Thirty Heroes went down to meet him by a rock near the cave. At the same time the Philistine army was camped in the Valley of Rephaim.