The haftarah for parshat Shelach tells of a successful spying mission - when two spies sent by Yehoshua infiltrated the city of Yericho, visited a woman named Rahav, and returned with the report that the conquest was inevitable.
In return for Rahav's help, she and her family were saved from the city's ensuing destruction. The circumstances of their protection are interesting:
- Rahav was to be saved, along with whatever family members were in her house. (2:18)
- If any of them left the house, they would be killed. (2:19)
- Rahav was to put a red thread on her window to signal that the inhabitants should be protected. (2:18)
- When the spies left Rahav, to avoid their pursuers, she advised them to head for the mountain and stay there for three days. (2:16)
- The Israelites slaughtered the Pesach sacrifice - one per family. (Shemot 12:3)
- They were not to leave the house until the plague was over (12:22)
- They were to smear the (red) blood on the doorposts of their house to indicate they should be protected.
- The plague was punishment for Pharaoh's refusal to allow a three-day journey perform a sacrifice at "God's Mountain" (3:12)