God would have them armed, both for the defence of themselves and the ark, in case the enemies should make a sally upon them, and for the execution of the Lord's vengeance upon that city.
Related Commentaries of Joshua 6:7
Joshua 6:7
7 And he said unto the people, Pass on, and compass the city, and let him that is armed pass on before the ark of the LORD.