I wonder if Matthew, ex-tax collector and publican that he was, identified with these women and men at some level. Through this record God is displaying God’s grace to all people, victims and perpetrators. Even in this genealogy Matthew was already giving us a clue there is something unique and earth-shaking about Jesus.
If Matthew had ransacked the entire Hebrew scriptures he would have been hard-pressed to find four more unlikely candidates for the Messiah’s genealogy!
Though this is the shortest of Haggai’s oracles, it is surprisingly dense! In it God redeems Zerubbabel's family baggage.