For the lord hardened their hearts and caused them to fight the Israelites. So they were completely destroyed without mercy, as the lord had commanded Moses.