The army of Philistia had attacked the people in the Rephaim Valley southwest of Jerusalem and had robbed them.