It happened on the seventh day, that they rose early at the dawning of the day, and compassed the city after the same manner seven times: only on the day they compassed the city seven times.
Joshua 6:17 here mentions the "ban," or the [@anathema] or the [~cherem], or the "devoted" status of Jericho.  This aspect of the Holy War in which Israel was engaged required the total destruction of all life and property, with some specific exemptions, such as silver and gold, which went into the treasury of the Lord.  For fuller teaching on this and for explanation of the various DEGREES of its enforcement, see  Leviticus 17:21ff. In the case of Jericho, probably because it was the first of the Canaanite cities, there were not to be any exceptions, except the gold, silver, and bronze.  Sizoo, speaking of this, said, "It is not merely a sacrifice to the deity, but rather a taboo ...  In a wider sense, it refers to anything or any person irrevocably condemned to destruction  (Leviticus 17:28,29;  Exodus 22:20)."[28]