5 Salmon was the father of Boaz by Rahab, Boaz was the father of Obed by Ruth, and Obed the father of Jesse. 6 Jesse was the father of David the king. David was the father of Solomon by Bathsheba who had been the wife of Uriah. Matthew 1:5-6 (NASB) (Read James 2:24-26 on the site)
How would you like it if your name was forever associated with the profession of prostitution? Rahab lived on the wall in the city of Jericho. When the two spies sent by Joshua entered the city, they stayed at her house….
When the city officials knew of their presence, Rahab hid them then helped them escape. In return the spies promised to save her and her family when Jericho was attacked by the Israelites. Later, she was wed to Salmon of the tribe of Judah. Their son Boaz was the kinsman redeemer who married Ruth. Their son Obed became the father of Jesse who became the father of David the King.
This put Rahab in the genealogical line of Jesus Christ. However, she is still called Rahab the Harlot or Rahab the prostitute in scripture. Why? Rahab is a trophy of God’s grace. She is an example to us all that the good we do that is eternal is always by and through God’s grace. When we are weak, yet obedient, God is strong through us. That is why James can say that good works will always accompany genuine saving faith. As regenerate believers, we must learn this. Any works we do in our own abilities are not eternal. All of the work God does through us is eternal.