Three of the 30 leaders went to David. He was at the rock by the cave near Adullam. At the same time a group from the Philistine army was camped in the Valley of Rephaim.