David was near the rock at the cave of Adullam. Three of the 30 chiefs came down to him there. A group of Philistines was camped in the Valley of Rephaim.