Joshua 6:17-18

17And the city and all that is within it shall be a  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 c  hid 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 d  a thing for destruction and e  bring trouble upon it.
Copyright information for ESV