and when Jehovah your God shall give them up before you, and you strike them, then you shall utterly destroy them; you shall not cut a covenant with them, and not show mercy to them;
As Jehovah commanded His servant Moses, so Moses commanded Joshua, and so Joshua did. He did not turn aside from anything of all that Jehovah commanded Moses.