When all the Israelites who had been hiding in the hill country of Ephraim heard that the Philistines were fleeing, they also joined the battle in close pursuit.