Three of the 30 chief men went down to David, to the rock at the cave of Adullam, while the Philistine army was encamped in the Valley of Rephaim.