*Minor differences ignored. Grouped by changes, with first version listed as example.
And before they were laid down,.... Under the stalks of the flax; or rather, since they are said to be hid in them, before they were fallen asleep, so Kimchi and Abarbinel:
she came up unto them upon the roof; to acquaint them how things were, and to converse with them on the following subjects.
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.
THE COVENANT BETWEEN HER AND THEM. (Joshua 2:8-21)
she came up unto them upon the roof and said--Rahab's dialogue is full of interest, as showing the universal panic and consternation of the Canaanites on the one hand (Joshua 24:11; Deuteronomy 2:25), and her strong convictions on the other, founded on a knowledge of the divine promise, and the stupendous miracles that had opened the way of the Israelites to the confines of the promised land. She was convinced of the supremacy of Jehovah, and her earnest stipulations for the preservation of her relatives amid the perils of the approaching invasion, attest the sincerity and strength of her faith.
Laid down - To sleep as they intended.
*More commentary available at chapter level.