When you hear the sound of marching in the tops of the balsam trees, then attack. I, God, will have gone out before you to defeat the Philistine army.”
Later, at Gezer, war broke out with the Philistines. Sibbecai the Hushathite killed Sippai, who was one of the descendants of the Rephaites. So those Philistines were defeated.
The Lord will fight as he did at Mount Perazim. He will be angry as he was in the Valley of Gibeon. He will do his work, his strange work. He will finish his job, his strange job.
The Ephraimites could not force the Canaanites to leave Gezer, so the Canaanites still live among the Ephraimites today, but they became slaves of the Ephraimites.