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