Joshua 2:8

8 Before the spies went to sleep that night, Rahab went up on the roof to talk with them.

Joshua 2:8 In-Context

6 (Actually, she had taken them up to the roof and hidden them beneath bundles of flax she had laid out.)
7 So the king’s men went looking for the spies along the road leading to the shallow crossings of the Jordan River. And as soon as the king’s men had left, the gate of Jericho was shut.
8 Before the spies went to sleep that night, Rahab went up on the roof to talk with them.
9 “I know the LORD has given you this land,” she told them. “We are all afraid of you. Everyone in the land is living in terror.
10 For we have heard how the LORD made a dry path for you through the Red Sea when you left Egypt. And we know what you did to Sihon and Og, the two Amorite kings east of the Jordan River, whose people you completely destroyed.
Holy Bible. New Living Translation copyright© 1996, 2004, 2007, 2013 by Tyndale House Foundation. Used by permission of Tyndale House Publishers Inc., Carol Stream, Illinois 60188. All rights reserved.