Joshua 10:30

30 and the LORD delivered it also, and the king of it, into the hand of Yisra'el; and he struck it with the edge of the sword, and all the souls who were therein; he left none remaining in it; and he did to the king of it as he had done to the king of Yericho.

Joshua 10:30 Meaning and Commentary

Joshua 10:30

And the Lord delivered it also, and the king thereof, into
the hand of Israel
At once, no opposition being made that we read of:

and he smote it with the edge of the sword, and all the souls that
[were] therein, he let none remain in it;
that is, Israel smote it, or Joshua, and indeed both; and this was according to the orders given them to be observed with respect to all the cities and nations of Canaan; and that because of their abominable sins and wickedness, and to make way and room for the people of Israel, ( Deuteronomy 7:1 Deuteronomy 7:2 ) ;

but did unto the king thereof as he did unto the king of Jericho:
slew him with the inhabitants.

Joshua 10:30 In-Context

28 Yehoshua took Makkedah on that day, and struck it with the edge of the sword, and the king of it: he utterly destroyed them and all the souls who were therein; he left none remaining; and he did to the king of Makkedah as he had done to the king of Yericho.
29 Yehoshua passed from Makkedah, and all Yisra'el with him, to Livna, and fought against Livna:
30 and the LORD delivered it also, and the king of it, into the hand of Yisra'el; and he struck it with the edge of the sword, and all the souls who were therein; he left none remaining in it; and he did to the king of it as he had done to the king of Yericho.
31 Yehoshua passed from Livna, and all Yisra'el with him, to Lakhish, and encamped against it, and fought against it:
32 and the LORD delivered Lakhish into the hand of Yisra'el; and he took it on the second day, and struck it with the edge of the sword, and all the souls who were therein, according to all that he had done to Livna.
The Hebrew Names Version is in the public domain.