Rahab hid the two spies in Jericho. In the Bible, the story goes that Joshua, the leader of the Israelites, sent two spies to scope out the city of Jericho before they attacked. The spies stayed at Rahab's house, who was a prostitute and lived on the city wall. When the king of Jericho heard about the spies, he sent soldiers to Rahab's house to capture them. However, Rahab hid the spies on her roof and told the soldiers that the spies had already left the city. She then helped the spies escape through a window and lowered them down the wall with a rope. Because of her bravery and assistance, Rahab and her family were spared when the Israelites conquered Jericho.