8 Before they went to sleep, she came up to them on the roof 9 and said to the men: "I know that the Lord has given you the land, and that dread of you has fallen on us, and that all the inhabitants of the land melt in fear before you. 10 For we have heard how the Lord dried up the water of the Red Sea [1] before you when you came out of Egypt, and what you did to the two kings of the Amorites that were beyond the Jordan, to Sihon and Og, whom you utterly destroyed. 11 As soon as we heard it, our hearts melted, and there was no courage left in any of us because of you. The Lord your God is indeed God in heaven above and on earth below. 12 Now then, since I have dealt kindly with you, swear to me by the Lord that you in turn will deal kindly with my family. Give me a sign of good faith 13 that you will spare my father and mother, my brothers and sisters, and all who belong to them, and deliver our lives from death." 14 The men said to her, "Our life for yours! If you do not tell this business of ours, then we will deal kindly and faithfully with you when the Lord gives us the land." 15 Then she let them down by a rope through the window, for her house was on the outer side of the city wall and she resided within the wall itself. 16 She said to them, "Go toward the hill country, so that the pursuers may not come upon you. Hide yourselves there three days, until the pursuers have returned; then afterward you may go your way." 17 The men said to her, "We will be released from this oath that you have made us swear to you 18 if we invade the land and you do not tie this crimson cord in the window through which you let us down, and you do not gather into your house your father and mother, your brothers, and all your family. 19 If any of you go out of the doors of your house into the street, they shall be responsible for their own death, and we shall be innocent; but if a hand is laid upon any who are with you in the house, we shall bear the responsibility for their death. 20 But if you tell this business of ours, then we shall be released from this oath that you made us swear to you." 21 She said, "According to your words, so be it." She sent them away and they departed. Then she tied the crimson 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.