Then Joshua son of Nun secretly sent two spies1 from Shittim.2 "Go, look over3 the land," he said, "especially Jericho.4" So they went and entered the house of a prostitute named Rahab5 and stayed there.
References for Joshua 2:1
The king of Jericho was told, "Look! Some of the Israelites have come here tonight to spy out the land."
So the king of Jericho sent this message to Rahab:6 "Bring out the men who came to you and entered your house, because they have come to spy out the whole land."
References for Joshua 2:3
But the woman had taken the two men7 and hidden them.8 She said, "Yes, the men came to me, but I did not know where they had come from.
References for Joshua 2:4
At dusk, when it was time to close the city gate,9 the men left. I don't know which way they went. Go after them quickly. You may catch up with them."10
References for Joshua 2:5
(But she had taken them up to the roof and hidden them under the stalks of flax11 she had laid out on the roof.)12
References for Joshua 2:6
So the men set out in pursuit of the spies on the road that leads to the fords of the Jordan,13 and as soon as the pursuers14 had gone out, the gate was shut.
References for Joshua 2:7