David was at the cave of Adullam. During harvest time, three of the 30 chief men came down to him there. A group of Philistines was camped in the Valley of Rephaim.