Matthew's genealogy of Jesus covers forty-and-two generations, but it mentions just five women -- and only four by name. The interesting and fun thing is that every one of those women was scandalous in some way.
Tamar had been married to Judah's son Er, but Er died. According to Hebrew custom, Er's brother Onan was supposed to take on Tamar as his wife to provide offspring for his late brother, but he failed to fulfill his duty. (Onan "wasted his seed on the ground," meaning he pulled out so Tamar wouldn't get pregnant; it is misunderstanding of this Scripture that has led many Christians to condemn masturbation, which in fact has nothing to do with this.)
As Tamar's father-in-law, it was Judah's duty to provide a man to help her conceive, but he reneged. So, Tamar tricked Judah into fulfilling this duty by disguising herself as a prostitute and getting him to sleep with her. When Tamar, no longer disguised, was found to be pregnant, Judah tried to have her burned at the stake. However, Tamar turned the tables by proving that Judah was the father, exposing him as a john and as a man who failed to fulfill his word or his duty.
Judah -- a son of Jacob and patriarch of the largest of the Twelve Tribes of Israel -- admitted in front of everyone, "She is more righteous than I." Tamar gave birth to twins, one of whom was Jesus' ancestor Perez.
Rahab was the mother of Boaz and great-grandmother of David, the greatest king Israel would have and a figure who in many ways was a precursor of Jesus. She was also a prostitute, but she helped the spies who scouted out the town of Jericho for Joshua.
Rahab's son Boaz married Ruth, who was not a Hebrew. She was a minority, a foreigner, a member of a different race, so to speak, but she became David's grandmother.
Next in line is a woman whom Matthew calls "Uriah's wife." Her name was Bathsheba, and David had a one-night stand with her while Uriah was off fighting a war for him. David married her after having Uriah killed. She eventually gave birth to Solomon, who succeeded David as king and was one of Jesus' forefathers.
The last scandalous woman on the list is a girl named Mary, who was an unwed teenage mother whose fiance knew he wasn't the father. Her fiance, Joseph, "desired to put her away secretly." However, an angel of the Lord let Joseph know that Mary had conceived by the power of the Holy Spirit, so he stuck with her.
And, as Jentezen Franklin said, Mary had a little Lamb.
Every one of these women was at the center of a scandal, every one a subject of gossip. And every one is in the bloodline of Jesus, the Son of God and Savior of the world.
God esteems -- and redeems -- scandalous women.