Frederick Buechner said this quote

Matthew lists Rahab as one of the ancestresses of the Lord Jesus Christ (Matthew 1:5), and that may be one reason why there was something about free-wheeling ladies with warm and generous hearts that he was never quite able to resist.