King James Version (KJV) - Joshua 10:20 >

And it came to pass, when Joshua and the children of Israel had made an end of slaying them with a very great slaughter, till they were consumed, that the rest [which] remained of them entered into fenced cities.

Berean Study Bible (BSB) - Joshua 10:20 >

So Joshua and the Israelites continued to inflict a terrible slaughter until they had finished them off, and the remaining survivors retreated to the fortified cities.