The Philistines had gathered together to fight against Israel.
This phrase refers to the nation of Israel.
"the people worried greatly"