Joshua did to them as the Lord had commanded him; he hamstrung their horses and burned their chariots.