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