The battle of Jericho featured one of the most astounding miracles in the Bible, proving that God stood with the Israelites.
After the death of Moses, God chose Joshua, son of Nun, to be the leader of the Israelite people. They set about to conquer the land of Canaan, under the Lord's guidance. God said to Joshua, "Do not be terrified; do not be discouraged, for the Lord your God will be with you wherever you go." (Joshua 1:9, NIV).
Spies from the Israelites sneaked into the walled city of Jericho and stayed at the house of Rahab, a prostitute. But Rahab had faith in God. She hid the spies from the king's soldiers, and when the time was right, she helped the spies escape out a window and down a rope, since her house was built into the city wall.
Rahab made the spies swear an oath. She promised not to give their plans away, and in return they swore to spare Rahab and her family when the battle of Jericho began. She was to tie a scarlet cord in her window as a sign of their protection.
Meanwhile, the Israelite people continued to move into Canaan.
God commanded Joshua to have the priests carry the Ark of the Covenant into the center of the Jordan River, which was at flood stage. As soon as they stepped into the river, the water stopped flowing. It piled up in heaps upstream and downstream, so the people could cross on dry ground. God performed a miracle for Joshua, just as he had done for Moses, by parting the Red Sea.
God had a strange plan for the battle of Jericho. He told Joshua to have the armed men march around the city once each day, for six days. The priests were to carry the ark, blowing trumpets, but the soldiers were to keep silent.
On the seventh day, the assembly marched around the walls of Jericho seven times. Joshua told them that by God's order, every living thing in the city must be destroyed, except Rahab and her family. All articles of silver, gold, bronze and iron were to go into the Lord's treasury.
At Joshua's command, the men gave a great shout, and Jericho's walls fell down flat! The Israelite army rushed in and conquered the city. Only Rahab and her family were spared.
Joshua 1:1 - 6:25