Joshua 6:12-17

12Then Joshua rose early in the morning, and a  the priests took up the ark of the  Lord. 13And the seven priests bearing the seven trumpets of rams’ horns before the ark of the  Lord walked on, and they blew the trumpets continually. And the armed men were walking before them, and the rear guard was walking after the ark of the  Lord, while the trumpets blew continually. 14And the second day they marched around the city once, and returned into the camp. So they did for six days.

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 b  devoted 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 d  hid the messengers whom we sent.
Copyright information for ESV