21 And Joshua the son of Nun sent[1] two men secretly from Shittim as spies, saying, "Go, view the land, especially Jericho." And they went and came into the house of a prostitute whose name was Rahab and lodged there. 2 And it was told to the king of Jericho, "Behold, men of Israel have come here tonight to search out the land." 3 Then the king of Jericho sent to Rahab, saying, "Bring out the men who have come to you, who entered your house, for they have come to search out all the land." 4 But the woman had taken the two men and hidden them. And she said, "True, the men came to me, but I did not know where they were from. 5 And when the gate was about to be closed at dark, the men went out. I do not know where the men went. Pursue them quickly, for you will overtake them." 6 But she had brought them up to the roof and hid them with the stalks of flax that she had laid in order on the roof. 7 So the men pursued after them on the way to the Jordan as far as the fords. And the gate was shut as soon as the pursuers had gone out.
Matthew Henry's Commentary on Joshua 2:1-7
Commentary on Joshua 2:1-7
(Read Joshua 2:1-7)
Faith in God's promises ought not to do away, but to encourage our diligence in the use of proper means. The providence of God directed the spies to the house of Rahab. God knew where there was one that would be true to them, though they did not. Rahab appears to have been an innkeeper; and if she had formerly been one of bad life, which is doubtful, she had left her evil courses. That which seems to us most accidental, is often overruled by the Divine providence to serve great ends. It was by faith that Rahab received those with peace, against whom her king and country had war. We are sure this was a good work; it is so spoken of by the apostle, James 2:25; and she did it by faith, such a faith as set her above the fear of man. Those only are true believers, who find in their hearts to venture for God; they take his people for their people, and cast in their lot among them. The spies were led by the special providence of God, and Rahab entertained them out of regard to Israel and Israel's God, and not for lucre or for any evil purpose. Though excuses may be offered for the guilt of Rahab's falsehood, it seems best to admit nothing which tends to explain it away. Her views of the Divine law must have been very dim: a falsehood like this, told by those who enjoy the light of revelation, whatever the motive, would deserve heavy censure.