1 Samuel 7:10

10 While Samuel was sacrificing the burnt offering, the Philistines drew near to engage Israel in battle. But that day the LORD thundered with loud thunder against the Philistines and threw them into such a panic that they were routed before the Israelites.

Read 1 Samuel 7:10 Using Other Translations

And as Samuel was offering up the burnt offering, the Philistines drew near to battle against Israel: but the LORD thundered with a great thunder on that day upon the Philistines, and discomfited them; and they were smitten before Israel.
As Samuel was offering up the burnt offering, the Philistines drew near to attack Israel. But the LORD thundered with a mighty sound that day against the Philistines and threw them into confusion, and they were routed before Israel.
Just as Samuel was sacrificing the burnt offering, the Philistines arrived to attack Israel. But the LORD spoke with a mighty voice of thunder from heaven that day, and the Philistines were thrown into such confusion that the Israelites defeated them.

What does 1 Samuel 7:10 mean?

John Gill's Exposition of the Bible
1 Samuel 7:10

And as Samuel was offering up the burnt offering
&c.] Which he might do by a priest, as Ben Gersom suggests, he being only a Levite; though he being a prophet, and an extraordinary person, and this an extraordinary case, he might do it himself, as Gideon and others, as well as offer it in another place than where the tabernacle was; Shiloh being now destroyed, persons and places for sacrifice were now dispensed with: and before Samuel had made an end of offering the sacrifice,

the Philistines drew near to battle against Israel;
and were come as far almost as Mizpeh, where Israel were, and Samuel was sacrificing:

but the Lord thundered with a great thunder on that day upon the
Philistines;
which fulfilled Hannah's prophecy, ( 1 Samuel 2:10 ) and this, as Josephus F14 says, was attended with lightning, which flashed in their faces, and shook their weapons out of their hands, so that they fled disarmed; and also with an earthquake, which caused gaps in the earth, into which they fell:

and discomfited them;
disturbed, affrighted them, and threw them into confusion and disorder, as well as destroyed many of them:

and they were smitten before Israel;
the meaning of which is not that they fled before them, and were killed by them; but that before Israel could come out against them, and fight with them, they were smitten and destroyed, many of them by the thunder and lightning, and by the earth opening upon them, and devouring them; for this phrase, "before Israel", denotes time, as Abarbinel observes, and not place.


FOOTNOTES:

F14 Antiqu. l. 6. c. 2. sect. 2.
California - Do Not Sell My Personal Information  California - CCPA Notice