3 You and your soldiers will walk around the city once a day for six days.
4 Seven priests will go before the ark with seven trumpets of rams' horns. On the seventh day, walk around the city seven times, while the priests blow their trumpets.
5 The priests will blow a long blast from the rams' horns, all the people shout, and the walls will fall down.
The city and everything in it is accursed. Only Rahab the harlot shall live.
18 Keep away from the accursed thing. Or you will become accursed, along with all of Israel.
19 All the silver, gold, brass, and iron must go to God's treasury.
20 When the people shouted and the priests blew their trumpets, the walls of Jericho fell down.
21 The Israelites slaughtered everyone in the city of Jericho (except Rahab): women, children, old people, and animals, with the edge of the sword.
22 Joshua said to the men who were sent to Jericho,
Go to the harlot's house and bring out the woman and all that she has, as you promised.
23 The spies did as Joshua commanded, and brought out Rabab, her family, and her possessions. 24 Then they burned the city, keeping only the silver, gold, brass, and iron, which they put into God's treasury.
Whoever tries to rebuild Jericho will be accursed by God and will have to sacrifice both their oldest and their youngest sons in its construction. (6:26)
According to 1 Kings 16:34 this prophecy was fulfilled, when Hiel rebuilt Jericho, laying the foundation with his oldest son and the gate with his youngest son "according the word of the Lord."