Valley of Rephaim (עמק רפאים, Emeq Rephaim)- (, R.V.). A valley descending southwest from Jerusalem to the Valley of Elah below, it is an ancient route from the coastal plain to the Judean Hills, probably named after the legendary race of giants.
When David became king over all Israel, the Philistines, judging that he would now become their uncompromising enemy, made a sudden attack upon Hebron, compelling David to retire from it. He sought refuge in "the hold" at Adullam and the Philistines took up their position in the valley of Rephaim, on the west and south-west of Jerusalem. Thus all communication between Bethlehem and Jerusalem was intercepted. While David and his army were encamped here, there occurred that incident narrated in . Having obtained divine direction, David led his army against the Philistines, and gained a complete victory over them. The scene of this victory was afterwards called Baal-perazim.
A second time, however, the Philistines rallied their forces in this valley (). Again warned by a divine saying, David led his army to Gibeon, and attacked the Philistines from the south, inflicting on them another severe defeat, and chasing them with great slaughter to Gezer (q.v.). There David kept in check these enemies of Israel.