Joshua 2:8

6 (But Rahab had taken them up to the roof and hidden them among the stalks of flax that she had laid out there.)

7 So the king’s men set out in pursuit of the spies along the road to the fords of the Jordan, and as soon as they had gone out, the gate was shut.

Before the spies lay down for the night, Rahab went up on the roof

9 and said to them, “I know that the LORD has given you this land and that the fear of you has fallen on us, so that all who dwell in the land are melting in fear of you.

10 For we have heard how the LORD dried up the waters of the Red Sea before you when you came out of Egypt, and what you did to Sihon and Og, the two kings of the Amorites across the Jordan, whom you devoted to destruction.

Here the Bible tells a story about someone else. Ask yourself what it can say to us today. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Before the spies lay down for the night, Rahab went up on the roof
KJV
And before they were laid down, she came up unto them upon the roof;
WEB
Before they had lain down, she came up to them on the roof.
ASV
And before they were laid down, she came up unto them upon the roof;
DARBY
And before they had lain down, she went up to them upon the roof;
BLB
And before they lay down, she came up to them on the roof.
ÅB
Før speiderne hadde lagt seg, gikk hun opp til dem på taket,
OTB
Før spionene la seg for natten, gikk hun opp til dem på taket
B1930
Før speiderne hadde lagt sig, gikk hun op til dem på taket,

Study notes (Tyndale)

Original text and word study