Joshua 6:22 (HCSB)

 Joshua said to the two men who had scouted the land, “Go to the prostitute’s house and bring the woman out of there, and all who are with her, just as you promised her.”

      If one doubted the veracity of the Scriptures, surely the story of the prostitute Rahab would give one pause.  She first of all saves the two spies sent our by Joshua in exchange for her  and her family’s lives when Jericho is conquered.  One can imagine the stories told by the two spies: “How We Were Saved by a Prostitute.”  God’s salvation comes in the unlikeliest of places sometimes.
     Then when Jericho is conquered Joshua goes out of his way to ensure that Rahab and her family are saved.  They first live outside of the camp but eventually become part of Israel and—wonder of wonders—Rahab will be in the line of Christ our Lord!
     Matthew 1:5 (HCSB)
Salmon fathered Boaz by Rahab, Boaz fathered Obed by Ruth, Obed fathered Jesse,

Expositor’s Bible Commentary: Similarly, the line between Amminadab and David is short: more names may have been omitted. Whether such names properly fit before Boaz, so that Rahab was not the immediate mother of Boaz (just as Eve was not immediately “the mother of all the living,” Gen 3:20), or after Boaz, or both, one cannot be sure. It is almost certain, however, that the Rahab mentioned is the prostitute of Joshua 2 and 5 (see further on 1:6).