1 Samuel 7:7

And when the Philistines heard that the children of Israel were gathered together to Mizpeh, the lords of the Philistines went up against Israel. And when the children of Israel heard it, they were afraid of the Philistines.

Cross-reference

Exodus 14:10 records Israel terrified by the approaching Egyptians — a parallel fear of an enemy after gathering, leading to crying out.