Joshua
Joshua 6:18BSB·traditional attribution

But keep away from the things devoted to destruction, lest you yourself be set apart for destruction. If you take any of these, you will set apart the camp of Israel for destruction and bring disaster upon it.

Matthew Henry Presbyterian @wholebiblehenry

The people had religiously observed the orders given them concerning the besieging of Jericho, and now at length Joshua had told them (Jos 6:16), "The Lord hath given you the city, enter and take possession." Accordingly in these verses we have, I. The rules they were to observe in taking possession.

Commenting on Joshua 6:17-27

John Gill Reformed Baptist @doctorgill

And you in any wise keep yourselves from the accursed thing,.... From laying hold on, secreting, and enjoying as their own, what was devoted to another use: lest ye make yourselves accursed; or a "cherem", also devoted to destruction: when ye take of the accursed thing; any part of it, be it what it will, gold or any other metal, or raiment, and the like...

Jamieson-Fausset-Brown Reformed @jfbcommentary

THE CITY COMPASSED SIX DAYS. (Jos 6:8-19) the seven priests bearing the seven trumpets . . . passed on before the Lord--before the ark, called "the ark of the covenant," for it contained the tables on which the covenant was inscribed.

Commenting on Joshua 6:8-19