Here's how it goes.
God tells Joshua that he has given the city of Jericho into his hands and that he and his men should march around the city every day for six days with seven priests marching before the ark blowing seven trumpets made of rams' horns.
The LORD said unto Joshua, See, I have given into thine hand Jericho, and the king thereof, and the mighty men of valour. And ye shall compass the city, all ye men of war, and go round about the city once. Thus shalt thou do six days. And seven priests shall bear before the ark seven trumpets of rams' horns. Joshua 6.2-4aOn the seventh day the seven priests will march around seven times blowing their seven trumpets. They'll make a long blast, everyone will yell, and the walls will fall down.
The seventh day ye shall compass the city seven times, and the priests shall blow with the trumpets. And it shall come to pass, that when they make a long blast with the ram's horn, and when ye hear the sound of the trumpet, all the people shall shout with a great shout; and the wall of the city shall fall down flat. Joshua 6.4b-5So the trumpets sounded and the people yelled and the walls came tumbling down.
On the seventh day, that … they compassed the city seven times. And … at the seventh time, when the priests blew with the trumpets, Joshua said unto the people, Shout; for the LORD hath given you the city. … So the people shouted when the priests blew with the trumpets: and … the wall fell down flat. Joshua 6.15-20Then Joshua told the soldiers to kill everyone in the city as an offering to God, except for the prostitute, Rahab, and her family. But all the silver, gold, bronze, and iron belonged to God alone.
The city shall be accursed, even it, and all that are therein, to the LORD: only Rahab the harlot shall live, she and all that are with her in the house, because she hid the messengers that we sent. And ye, in any wise keep yourselves from the accursed thing, lest ye make yourselves accursed, when ye take of the accursed thing, and make the camp of Israel a curse, and trouble it. But all the silver, and gold, and vessels of brass and iron, are consecrated unto the LORD: they shall come into the treasury of the LORD. Joshua 6.17-19So the soldiers went into the city and killed everything in it. Men, women, young, old, cattle, sheep, and donkeys. But they spared Rahab and her family.
They utterly destroyed all that was in the city, both man and woman, young and old, and ox, and sheep, and ass, with the edge of the sword. … And Joshua saved Rahab the harlot alive, and her father's household, and all that she had. Joshua 6.21-25(Rahab and her family were spared because she protected the Israelite spies by lying about their whereabouts. I don't know how they survived when the wall fell down, since her house was on the wall. I guess it was a miracle or something.)
Then they burned everything in the city, except for the gold, silver, iron, and bronze, which they put into God's treasury.
They burnt the city with fire, and all that was therein: only the silver, and the gold, and the vessels of brass and of iron, they put into the treasury of the house of the LORD. Joshua 6.24After destroying Jericho, Joshua said that whoever rebuilt the city would be cursed by God and be forced to sacrifice his oldest and youngest sons.
Joshua adjured them at that time, saying, Cursed be the man before the LORD, that riseth up and buildeth this city Jericho: he shall lay the foundation thereof in his firstborn, and in his youngest son shall he set up the gates of it. Joshua 6.26(According to 1 Kings 16:34, this prophecy was fulfilled when Hiel rebuilt Jericho. God made him lay the foundation with the body of his oldest son and set up the gates with his youngest son's body "according to the word of the Lord.")
Estimated number killed: 1000.
God's next killing: Achan and his family are stoned and burned to death