what I remember:
The people of Jericho were so scared of the impending attack from Israel that they holed up in their city and no one was allowed to go in or out. Israel's instructions were to march around the city once each day for six days, then march around seven times on the seventh day, shout and blow trumpets and the walls would fall. Then they were to go in, level it, burn everything and such. Rahab and her family were removed from the city before the walls fell. This was a surprise to me - somehow I had always pictured Rahab's house as still standing when the rest of the wall fell.
key verse:
So the LORD was with Joshua and his fame spread throughout all the country.
about God:
The passage goes out of its way to point out that Rahab was spared because she hid the messengers that had come to spy out the land. God rewards those who take risks for Him.