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 , and that the terror of you has fallen on us, and that all the inhabitants of the land have melted away before e you. 10 " For we have heard how the Lord dried up the water of the Red e Sea before e you when you came out of Egypt , and what you did to the two kings of the Amorites who were beyond the Jordan , to Sihon and Og , whom you utterly destroyed . 11 "When we heard it, our hearts melted and no courage remained in any man any longer because e of you; for the Lord your God , He is God in heaven above e and on earth beneath e . 12 "Now therefore, please swear to me by the Lord , since I have dealt kindly with you, that you also will deal kindly with my father's household , and give me a pledge of truth , 13 and spare my father and my mother and my brothers and my sisters , with all who belong to them, and deliver our lives from death ." 14 So the men said to her, "Our life for yours if you do not tell this business of ours; and it shall come about when the Lord gives us the land that we will deal kindly and faithfully with you." 15 Then she let them down by a rope through the window , for her house was on the city wall , so that she was living on the wall . 16 She said to them, " Go to the hill country , so that the pursuers will not happen upon you, and hide yourselves there for three days until the pursuers return . Then afterward you may go on your way ." 17 The men said to her, " We shall be free from this oath to you which you have made us swear , 18 unless , when we come into the land , you tie this cord of scarlet thread in the window through which you let us down , and gather to yourself into the house your father and your mother and your brothers and all your father's household . 19 "It shall come about that anyone who goes out of the doors of your house into the street , his blood shall be on his own head , and we shall be free ; but anyone who is with you in the house , his blood shall be on our head if a hand is laid on him. 20 "But if you tell this business of ours, then we shall be free from the oath which you have made us swear ." 21 She said , "According to your words , so be it." So she sent them away , and they departed ; and she tied 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.