Joshua 6:15-20

15On the seventh day they rose early, at the dawn of day, and marched around the city in the same manner seven times. It was only on that day that they marched around the city seven times. 16And at the seventh time, when the priests had blown the trumpets, Joshua said to the people, “Shout, for the Lord has given you the city. 17And the city and all that is within it shall be adevoted to the Lord for destruction.
That is, set apart ( devoted) as an offering to the Lord (for destruction); also verses 18, 21
Only Rahab the prostitute and all who are with her in her house shall live, because she chid the messengers whom we sent.
18But you, keep yourselves from the things devoted to destruction, lest when you have devoted them you take any of the devoted things and make the camp of Israel da thing for destruction and ebring trouble upon it. 19But all silver and gold, and every vessel of bronze and iron, are holy to the Lord; they shall go into the treasury of the Lord.” 20So the people shouted, and the trumpets were blown. As soon as the people heard the sound of the trumpet, the people shouted a great shout, and fthe wall fell down flat, so that the people went up into the city, every man straight before him, and they captured the city.
Copyright information for ESV