Shared ground
Rahab is portrayed as taking concrete, risky action to protect the two scouts: she uses a cord to lower them out of her window, and the narrator explains why that works—her house is located on the city wall. The passage also presents Rahab as a capable strategist. She gives a simple plan meant to keep them from being caught: head toward the hill country, hide for three days, then continue their journey.
These verses are tightly practical. The focus is not on speeches or negotiations, but on escape logistics—an alternative exit that avoids the gate, a route that reduces the chance of meeting the pursuers, and a time buffer long enough for the search to die down.
Where interpretation differs
Some readers think “on the wall” means her house was built on top of the wall; others think it means her house was built into or against the wall so the wall formed part of the house’s structure. Either way, the narrative point is the same: the window provides direct access outside the city.
There is also modest uncertainty about details Rahab does not specify. “The mountain” could mean the nearby hill country generally rather than one named location. And “three days” may be an exact period or a practical estimate of how long a local pursuit would last.
Why the disagreement exists
The wording allows more than one physical picture of how a wall-supported house and an outward-facing window relate. Also, the passage uses brief, on-the-ground directions (mountain; three days) without mapping the route or defining whether the timing is precise.
What this passage clearly contributes
Explicitly, it shows how deliverance from immediate danger happens through ordinary means: a window, a cord, and local knowledge about pursuit patterns. It also advances the story’s larger movement toward Israel entering the land by showing that the scouts survive to report back. More broadly (as inference), Rahab functions here as a surprising ally inside a fortified enemy city—someone whose location and choices become a decisive factor in the mission’s success (Joshua 2:15).