Joshua the son of Nun secretly sent two men out of Shittim as spies, saying, "Go, view the land, including Jericho." They went and came into the house of a prostitute whose name was Rahab, and slept there.