15 And she let them down by a cord through the window; for her house was upon the city-wall, and she dwelt upon the wall. 16 And she said to them, Go to the mountain, that the pursuers may not meet with you; and hide yourselves there three days, until the pursuers have returned; and afterwards go your way. 17 And the men said to her, We will be quit of this thine oath which thou hast made us swear. 18 Behold, when we come into the land, thou shalt bind in the window this line of scarlet thread by which thou hast let us down; and thou shalt gather to thee in the house thy father, and thy mother, and thy brethren, and all thy father's household;
Matthew Henry's Commentary on Joshua 2:15-18
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.