Then you all came to me and suggested, “Let's send men on ahead to explore the land and report back to us about what route to take and which towns we'll come across.”
When the Lord had you leave Kadesh-barnea, he told you, “Go and take over the country that I've given you.” But you defied the command of the Lord your God. You didn't believe him and you didn't obey him.
Then Joshua, son of Nun, secretly sent out two spies from Shittim. “Go and explore the land, especially around Jericho,” he told them. So they went, and stayed at the house of woman named Rahab, a prostitute. There they spent the night.