Joshua the son of Nun sent out of Shittim two men as spies secretly, saying, Go, view the land, and Jericho. They went and came into the house of a prostitute whose name was Rahab, and lay there.
Jericho was not a large city, but it had strong fortifications and a strategic location on the eastern frontier of Canaan. It lay just a few miles west of the Jordan River in the Jordan Valley. If the Israelites were to gain a foothold in Canaan, they would have to defeat Jericho.