When King Balak of Moab and his people heard how many Israelites there were and what they had done to the Amorites, he and the Moabites were terrified and panicked.
The LORD answered their prayer and helped them wipe out the Canaanite army and completely destroy their towns. That's why one of the towns is named Hormah, which means “Destroyed Place”.