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.
      II. The providence of God directing the spies to the house of Rahab. How they got over Jordan we are not told; but into Jericho they came, which was about seven or eight miles from the river, and there seeking for a convenient inn were directed to the house of Rahab, here called a harlot, a woman that had formerly been of ill fame, the reproach of which stuck to her name, though of late she had repented and reformed. Simon the leper (Matthew 26:6), though cleansed from his leprosy, wore the reproach of it in his name at long as he lived; so Rahab the harlot; and she is so called in the New Testament, where both her faith and her good works are praised, to teach us, 1. That the greatness of sin is no bar to pardoning mercy if it be truly repented of in time. We read of publicans and harlots entering into the kingdom of the Messiah, and being welcomed to all the privileged of that kingdom, Matthew 21:31. 2. That there are many who before their conversion were very wicked and vile, and yet afterwards come to great eminence in faith and holiness. 3. Even those that through grace have repented of the sins of their youth must expect to bear the reproach of them, and when they hear of their old faults must renew their repentance, and, as an evidence of that, hear of them patiently. God's Israel, for aught that appears, had but one friend, but one well-wisher in all Jericho, and that was Rahab a harlot. God has often served his own purposes and his church's interests by men of different morals. Had these scouts gone to any other house than this they would certainly have been betrayed and put to death without mercy. But God knew where they had a friend that would be true to them, though they did not, and directed them thither. Thus that which seems to us most contingent and accidental is often over-ruled by the divine providence to serve its great ends. And those that faithfully acknowledge God in their ways he will guide with his eye. See Jeremiah 36:19; Jeremiah 36:26.