At harvest time three of the thirty leading men came to David at the cave of Adullam when a troop from the Philistine army was camping in the valley of Rephaim.