Once when David was at the rock near the cave of Adullam, the Philistine army was camped in the valley of Rephaim. The Three (who were among the Thirty--an elite group among David's fighting men) went down to meet him there.