Joshua 10:30

30 The LORD also gave that city and its king into Israel’s hand. The city and everyone in it Joshua put to the sword. He left no survivors there. And he did to its king as he had done to the king of Jericho.

Joshua 10:30 in Other Translations

KJV
30 And the LORD delivered it also, and the king thereof, into the hand of Israel; and he smote it with the edge of the sword, and all the souls that were therein; he let none remain in it; but did unto the king thereof as he did unto the king of Jericho.
ESV
30 And the LORD gave it also and its king into the hand of Israel. And he struck it with the edge of the sword, and every person in it; he left none remaining in it. And he did to its king as he had done to the king of Jericho.
NLT
30 There, too, the LORD gave them the town and its king. He killed everyone in it, leaving no survivors. Then Joshua killed the king of Libnah as he had killed the king of Jericho.
MSG
30 God gave Libnah to Israel. They captured city and king and massacred the lot. No survivors. Libnah's king got the same treatment as Jericho's king.
CSB
30 The Lord also handed it and its king over to Israel. He struck it down, putting everyone in it to the sword, and left no survivors in it. He treated Libnah's king as he had the king of Jericho.

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 That day Joshua took Makkedah. He put the city and its king to the sword and totally destroyed everyone in it. He left no survivors. And he did to the king of Makkedah as he had done to the king of Jericho.
29 Then Joshua and all Israel with him moved on from Makkedah to Libnah and attacked it.
30 The LORD also gave that city and its king into Israel’s hand. The city and everyone in it Joshua put to the sword. He left no survivors there. And he did to its king as he had done to the king of Jericho.
31 Then Joshua and all Israel with him moved on from Libnah to Lachish; he took up positions against it and attacked it.
32 The LORD gave Lachish into Israel’s hands, and Joshua took it on the second day. The city and everyone in it he put to the sword, just as he had done to Libnah.