15On the seventh day they rose early, at dawn, 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. 17The city and all that is in it shall be devoted to the LORD for destruction. Only Rahab the prostitute and all who are with her in her house shall live because she hid the messengers we sent. 18As for you, keep away from the things devoted to destruction, so as not to covet and take any of the devoted things and make the camp of Israel an object for destruction, bringing trouble upon it. 19But all silver and gold, and vessels of bronze and iron, are sacred 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 trumpets, they raised a great shout, and the wall fell down flat; so the people charged straight ahead into the city and captured it.21Then they devoted to destruction by the edge of the sword all in the city, both men and women, young and old, oxen, sheep, and donkeys.
22Joshua said to the two men who had spied out the land, “Go into the prostitute’s house, and bring the woman out of it and all who belong to her, as you swore to her.” 23So the young men who had been spies went in and brought Rahab out, along with her father, her mother, her brothers, and all who belonged to her – they brought all her kindred out – and set them outside the camp of Israel. 24They burned down the city, and everything in it; only the silver and gold, and the vessels of bronze and iron, they put into the treasury of the house of the LORD. 25But Rahab the prostitute, with her family and all who belonged to her, Joshua spared. Her family has lived in Israel ever since. For she hid the messengers whom Joshua sent to spy out Jericho.
26Joshua then pronounced this oath, saying, “Cursed before the LORD be anyone who tries to build this city – this Jericho! At the cost of his firstborn he shall lay its foundation, and at the cost of his youngest he shall set up its gates!” 27So the LORD was with Joshua; and his fame was in all the land