Joshua . . . sent . . . two men to spy secretly--Faith is manifested by an active, persevering use of means (Jam 2:22); and accordingly Joshua, while confident in the accomplishment of the divine promise (Jos 1:3), adopted every precaution which a skilful general could think of to render his first attempt in the invasion of Canaan successful. Two spies were despatched to reconnoitre the country, particularly in the neighborhood of Jericho; for in the prospect of investing that place, it was desirable to obtain full information as to its site, its approaches, the character, and resources of its inhabitants. This mission required the strictest privacy, and it seems to have been studiously concealed from the knowledge of the Israelites themselves, test any unfavorable or exaggerated report, publicly circulated, might have dispirited the people, as that of the spies did in the days of Moses.
Jericho--Some derive this name from a word signifying "new moon," in reference to the crescent-like plain in which it stood, formed by an amphitheater of hills; others from a word signifying "its scent," on account of the fragrance of the balsam and palm trees in which it was embosomed. Its site was long supposed to be represented by the small mud-walled hamlet Er-Riha; but recent researches have fixed on a spot about half an hour's journey westward, where large ruins exist about six or eight miles distant from the Jordan. It was for that age a strongly fortified town, the key of the eastern pass through the deep ravine, now called Wady-Kelt, into the interior of Palestine.
they . . . came into an harlot's house--Many expositors, desirous of removing the stigma of this name from an ancestress of the Saviour (Mat 1:5), have called her a hostess or tavern keeper. But Scriptural usage (Lev 21:7-14; Deu 23:18; Jdg 11:1; Kg1 3:16), the authority of the Septuagint, followed by the apostles (Heb 11:31; Jam 2:25), and the immemorial style of Eastern khans, which are never kept by women, establish the propriety of the term employed in our version. Her house was probably recommended to the spies by the convenience of its situation, without any knowledge of the character of the inmates. But a divine influence directed them in the choice of that lodging-place.
the men went out--This was a palpable deception. But, as lying is a common vice among heathen people, Rahab was probably unconscious of its moral guilt, especially as she resorted to it as a means for screening her guests; and she might deem herself bound to do it by the laws of Eastern hospitality, which make it a point of honor to preserve the greatest enemy, if he has once eaten one's salt. Judged by the divine law, her answer was a sinful expedient; but her infirmity being united with faith, she was graciously pardoned and her service accepted (Jam 2:25).
as soon as they which pursued after them were gone out, they shut the gate--This precaution was to ensure the capture of the spies, should they have been lurking in the city.
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 (Jos 24:11; Deu 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.
Get you to the mountain--A range of white limestone hills extends on the north, called Quarantania (now Jebel Karantu), rising to a height of from twelve hundred to fifteen hundred feet, and the sides of which are perforated with caves. Some one peak adjoining was familiarly known to the inhabitants as "the mountain." The prudence and propriety of the advice to flee in that direction rather than to the ford, were made apparent by the sequel.