Matthew in today’s Gospel gives us the genealogy of Jesus, and the important thing for us to notice is that Matthew gave it to back up the special purpose he had in writing his Gospel.
Mathew, Mark, Luke, and John, each wrote to develop his own special thesis. Like John told us that all the incidents in his Gospel were chosen because of two things: first, that show that Jesus of the Son of God; and that secondly, they show that we have life through Jesus.
Matthew wrote to show us that Jesus was a hundred percent Jewish, and he was the one and only Messiah.
What prompted him to write his Gospel was that from the year 70 on, the Pharisees who survived the destruction of Jerusalem’s temple were telling the Christians that Jesus could not be the Messiah because he mixed with foreigners.
To counteract that assertion of the Pharisees that Jesus could not be the Messiah because he mixed with foreigners, Matthew pointed out that three of those who married their patriarchs, namely Tamar, Rahab, and Ruth were foreign women.
The Hebrews had their own name for genealogies such as this, they called it a toledoth, and toledoths were never mean to be accurate.
Like here, Matthew had something else in mind in saying that there were fourteen generations in the eight hundred years between Abraham and David; then, fourteen generations in the four hundred years between David and the Captivity; then, fourteen generations in the six hundred years between the Captivity and Joseph.
The Bible follows the Asian practice of attaching Importance to numbers. In the Bible three means mysterious and seven means complete.
The seventh son of a seventh son was marked for greatness, and fourteen generation is looked on as two sets of seven generations. So, Jesus, coming at the beginning of a seventh set of seven generations was marked for glory. Or something like that. Maybe.