As the Lord commanded Moses his servant, so did Moses command Joshua,.... Which was to destroy the people of the land, Deuteronomy 7:1;
so did Joshua, he left nothing undone of all that the Lord commanded Moses; both with respect to the destruction of the people, and of all their images, pictures, altars, groves, and high places; see