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.
The Philistines had raided the foothills and the Negev in Judah. They captured and began living in Beth Shemesh, Aijalon, Gederoth, Soco and its villages, Timnah and its villages, and Gimzo and its villages.