The Lord said to Joshua, “Do not fear them, for by this time tomorrow I will present them slain to Israel. You must hamstring their horses and burn their chariots.”
These were demonic spirits who performed signs. They went out to the kings of the whole world to assemble them for the battle on the great day of God the almighty.