Then Joshua secretly sent out two spies from the Israelite camp at Acacia Grove. He instructed them, “Scout out the land on the other side of the Jordan River, especially around Jericho.” So the two men set out and came to the house of a prostitute named Rahab and stayed there that night.
But someone told the king of Jericho, “Some Israelites have come here tonight to spy out the land.” So the king of Jericho sent orders to Rahab: “Bring out the men who have come into your house, for they have come here to spy out the whole land.”
Rahab had hidden the two men, but she replied, “Yes, the men were here earlier, but I didn’t know where they were from. They left the town at dusk, as the gates were about to close. I don’t know where they went. If you hurry, you can probably catch up with them.” (Actually, she had taken them up to the roof and hidden them beneath bundles of flax she had laid out.)