But you, keep away from the things set aside for God so that you don't desirea and take some of the things reserved. That would turn the camp of Israel into a thing doomed to be utterly wiped out and bring calamity on it.
All silver and gold, along with bronze and iron equipment, are holy to the LORD. They must go into the LORD's treasury."
Then the people shouted. They blew the trumpets. As soon as the people heard the trumpet blast, they shouted a loud war cry. Then the wall collapsed. The people went up against the city, attacking straight ahead. They captured the city.
Without mercy, they wiped out everything in the city as something reserved for God—man and woman, young and old, cattle, sheep, and donkeys.
Joshua spoke to the two men who had scouted out the land. "Go to the prostitute's house. Bring out the woman from there, along with everyone related to her, exactly as you pledged to her."
So the young men who had been spies went and brought Rahab out, along with her father, her mother, her brothers, and everyone related to her. They brought her whole clan out and let them stay outside Israel's camp.
They burned the city and everything in it. But they put the silver and gold, along with the bronze and iron equipment, into the treasury of the LORD's house.
Joshua let Rahab the prostitute live, her family, and everyone related to her. So her family still lives among Israel today, because she hid the spies whom Joshua had sent to scout out Jericho.
At that time Joshua made this decree: "Anyone who starts to rebuild this city of Jericho will be cursed before the LORD. Laying its foundations will cost them their oldest child. Setting up its gates will cost them their youngest child."
The LORD was with Joshua. News about him spread throughout the land.