the time of shutting of the gates--The gates of all Oriental cities are closed at sunset, after which there is no possibility either of admission or egress.
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).