The Battle of Jericho, as described in the Biblical Book of Joshua, was the first battle fought by the Israelites in the course of the conquest of Canaan. According to , the walls of Jericho fell after the Israelites marched around the city walls once a day for six days, seven times on the seventh day, and then blew their trumpets. Excavations at Tell es-Sultan, the biblical Jericho, have failed to substantiate this story, which has its origins in the nationalist propaganda of much later kings of Judah and their claims to the territory of the Kingdom of Israel. The lack of archaeological evidence and the composition, history and theological purposes of the Book of Joshua have led archaeologists like William G. Dever to characterise the story of the fall of Jericho as "invented out of whole cloth". Biblical account According to the Book of Joshua, when the Israelites were encamped at Shittim opposite Jericho, ready to cross the river, Joshua, as a final preparation, sent out two spies to Jericho. The spies stayed in the house of Rahab, a local prostitute. The king of Jericho sent soldiers who asked Rahab to bring out the spies. Instead, she hid them under bundles of flax on the roof. After escaping, the spies promised to spare Rahab and her family after taking the city, if she would mark her house by hanging a red cord out the window. After the Israelites crossed the Jordan, the king of Jericho ordered that the gates of the walls be closed. God commanded Joshua to go around the walls of Jericho for six days, once every day, and seven times on the seventh day. God commanded the city to be attacked by seven priests blowing trumpets, with the Ark of the Covenant in front of them and all the people behind the Ark of the Covenant. They encircled the wall of Jericho once a day for the first six days, and then encircled the city seven times on the seventh day. After the sound of the shofar sounded a great blow, the Israelites cheered and the city walls fell beneath them. Following God's law, the Israelites killed every man and woman of every age, as well as the oxen, sheep, and donkeys. Only Rahab, her parents, brothers and all "those who belonged to her" were spared. They were incorporated into Israel. Joshua then cursed anybody who