Joshua 6:16-26

16 And the seventh time it happened, when the priests blew the trumpets, that Joshua said to the people: "Shout, for the Lord has given you the city!
17 Now the city shall be doomed by the Lord to destruction, it and all who are in it. Only Rahab the harlot shall live, she and all who are with her in the house, because she hid the messengers that we sent.
18 And you, by all means abstain from the accursed things, lest you become accursed when you take of the accursed things, and make the camp of Israel a curse, and trouble it.
19 But all the silver and gold, and vessels of bronze and iron, are consecrated to the Lord; they shall come into the treasury of the Lord."
20 So the people shouted when the priests blew the trumpets. And it happened when the people heard the sound of the trumpet, and the people shouted with a great shout, that the wall fell down flat. Then 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, young and old, ox and sheep and donkey, with the edge of the sword.
22 But Joshua had said to the two men who had spied out the country, "Go into the harlot's house, and from there bring out the woman and all that she has, as you swore to her."
23 And the young men who had been spies went in and brought out Rahab, her father, her mother, her brothers, and all that she had. So they brought out all her relatives and left them outside the camp of Israel.
24 But they burned the city and all that was in it with fire. Only the silver and gold, and the vessels of bronze and iron, they put into the treasury of the house of the Lord.
25 And Joshua spared Rahab the harlot, her father's household, and all that she had. So she dwells in Israel to this day, because she hid the messengers whom Joshua sent to spy out Jericho.
26 Then Joshua charged them at that time, saying, "Cursed be the man before the Lord who rises up and builds this city Jericho; he shall lay its foundation with his firstborn, and with his youngest he shall set up its gates."
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.