8 Now before they lay down, she came up to them on the roof, 9 and said to the men: "I know that the Lord has given you the land, that the terror of you has fallen on us, and that all the inhabitants of the land are fainthearted because of you. 10 For we have heard how the Lord dried up the water of the Red Sea for you when you came out of Egypt, and what you did to the two kings of the Amorites who were on the other side of the Jordan, Sihon and Og, whom you utterly destroyed. 11 And as soon as we heard these things, our hearts melted; neither did there remain any more courage in anyone because of you, for the Lord your God, He is God in heaven above and on earth beneath. 12 Now therefore, I beg you, swear to me by the Lord, since I have shown you kindness, that you also will show kindness to my father's house, and give me a true token, 13 and spare my father, my mother, my brothers, my sisters, and all that they have, and deliver our lives from death." 14 So the men answered her, "Our lives for yours, if none of you tell this business of ours. And it shall be, when the Lord has given us the land, that we will deal kindly and truly with you." 15 Then she let them down by a rope through the window, for her house was on the city wall; she dwelt on the wall. 16 And she said to them, "Get to the mountain, lest the pursuers meet you. Hide there three days, until the pursuers have returned. Afterward you may go your way." 17 So the men said to her: "We will be blameless of this oath of yours which you have made us swear, 18 unless, when we come into the land, you bind this line of scarlet cord in the window through which you let us down, and unless you bring your father, your mother, your brothers, and all your father's household to your own home. 19 So it shall be that whoever goes outside the doors of your house into the street, his blood shall be on his own head, and we will be guiltless. And whoever is with you in the house, his blood shall be on our head if a hand is laid on him. 20 And if you tell this business of ours, then we will be free from your oath which you made us swear." 21 Then she said, "According to your words, so be it." And she sent them away, and they departed. And she bound the scarlet cord in the window.

Matthew Henry's Commentary on Joshua 2:8-21

Commentary on Joshua 2:8-21

(Read Joshua 2:8-21)

Rahab had heard of the miracles the Lord wrought for Israel. She believed that his promises would certainly be fulfilled, and his threatenings take effect; and that there was no way of escape but by submitting to him, and joining with his people. The conduct of Rahab proved that she had the real principle of Divine faith. Observe the promises the spies made to her. The goodness of God is often expressed by his kindness and truth, Psalm 117:2; in both these we must be followers of him. Those who will be conscientious in keeping promises, are cautious in making them. The spies make needful conditions. The scarlet cord, like the blood upon the doorpost at the passover, recalls to remembrance the sinner's security under the atoning blood of Christ; and that we are to flee thereto for refuge from the wrath of a justly offended God. The same cord Rahab used for the saving of these Israelites, was to be used for her own safety. What we serve and honour God with, we may expect he will bless, and make useful to us.