Joshua 6:17-21

MLV(i) 17 And the city will be set apart, even it and all that is in it, to Jehovah. Only Rahab the prostitute will live, she and all who are with her in the house, because she hid the messengers that we sent.
18 But as for you*, only keep yourselves from what is set apart, lest when you* have set it apart, you* take from what is set apart. So you* would make the camp of Israel accursed and trouble it. 19 But all the silver and gold and vessels of brass and iron, are holy to Jehovah. They will come into the treasury of Jehovah.
20 So the people shouted and the priests blew the trumpets. And it happened, when the people heard the sound of the trumpet, that the people shouted with a great shout and the wall fell down flat, so that the people went up into the city, every man straight before him and they took the city. 21 And they utterly destroyed all that was in the city, both man and woman, both young and old and ox and sheep and donkey, with the edge of the sword.