In the New Testament of the Holy Bible we find the genealogy of Christ written by Saint Matthew (Chapter 1 verses 1-18).
The book of the generation of Jesus Christ, the son of David, the son of Abraham:
Abraham begot Isaac. And Isaac begot Jacob. And Jacob begot Judas and his brethren.
And Judas begot Phares and Zara of Thamar. And Phares begot Esron. And Esron begot Aram.
And Aram begot Aminadab. And Aminadab begot Naasson. And Naasson begot Salmon.
And Salmon begot Booz of Rahab. And Booz begot Obed of Ruth. And Obed begot Jesse.
And Jesse begot David the king. And David the king begot Solomon, of her that had been the wife of Urias.
And Solomon begot Roboam. And Roboam begot Abia. And Abia begot Asa.
And Asa begot Josaphat. And Josaphat begot Joram. And Joram begot Ozias.
And Ozias begot Joatham. And Joatham begot Achaz. And Achaz begot Ezechias.
And Ezechias begot Manasses. And Manasses begot Amon. And Amon begot Josias.
And Josias begot Jechonias and his brethren in the transmigration of Babylon.
And after the transmigration of Babylon, Jechonias begot Salathiel. And Salathiel begot Zorobabel.
And Zorobabel begot Abiud. And Abiud begot Eliacim. And Eliacim begot Azor.
And Azor begot Sadoc. And Sadoc begot Achim. And Achim begot Eliud.
And Eliud begot Eleazar. And Eleazar begot Mathan. And Mathan begot Jacob.
And Jacob begot Joseph the husband of Mary, of whom was born Jesus, who is called Christ.
So all the generations from Abraham to David, are fourteen generations. And from David to the transmigration of Babylon, are fourteen generations: and from the transmigration of Babylon to Christ are fourteen generations.
Now the generation of Christ was in this wise. When as his mother Mary was espoused to Joseph, before they came together, she was found with child, of the Holy Ghost. (Christi autem generatio sic erat cum esset desponsata mater eius Maria Ioseph antequam convenirent inventa est in utero habens de Spiritu Sancto).
While Jesus Christ received His flesh solely from the Blessed Virgin Mary (who was His only biological parent, having no human father) His foster father, Joseph, was His legal father and the above genealogy traces Saint Joseph’s ancestry, in chronological order starting with Abraham.
Our Blessed Lady had to be espoused to Saint Joseph for two reasons:
… the first was because, Saint Joseph was the closest heir of the Davidic Kingdom. And, because our Blessed Lord had to descend from David, she wanted of course that He descend both naturally from her and legally from Saint Joseph.
So that on both sides, both from her flesh and legally from Saint Joseph, He would be ‘of the House of David,’ and he was the closest heir of the Davidic Kingdom.
The second reason, is that Saint Joseph was an absolutely holy man, full of virtue, especially of fortitude, patience, humility, and chastity.
If the Immaculate Conception picked out Saint Joseph, even before she knew of the Annunciation, and what would become of her, if she picked out Saint Joseph, imagine what the virtues of Saint Joseph were that he would merit to be her protector and her spouse all during her immaculate life.
Now at the time of the Annunciation, she was married to Saint Joseph but only legally. The Jews had a custom of a private matrimony and then a public one. The private one was a legal and true matrimony, however the couple did not live together until a few weeks later, or perhaps a few months later, when they had a large ceremony. And, at that point they would come together and live together. And there would be the wedding reception and for the Jews lasted eight days. Whenever the Jews celebrated they celebrated for eight days and that’s how we get octaves. You’ll notice that big feast days have ‘octaves’ and that comes from the Hebrews who celebrated their great feasts for eight days. So,
If you went to a wedding, in the ancient time, among the Jews, you would stay there for eight days and go back every day and feast again and again, and that was the ‘solemn marriage.’
But our Blessed Lady was truly married to Saint Joseph at the time of the Annunciation.
And that should clear up for you what seems to be something difficult to understand. And that is: is she merely espoused to him, is she merely engaged to him or is she married to him, what is going on?
And the answer is that she is truly married but they have not yet come together.
Now this marriage was providentially arranged lest Our Lady be accused of immorality when she was seen with child, and lest Our Lord, later in life, be accused of being of illegitimate birth. For this reason, the Angel tells Saint Joseph not to fear to receive her as his wife, that is ‘to take her into his home,’ because she has a child of the Holy Spirit.
The above is from a Sermon by Bishop Donald Sanborn.
Now, let us examine the genealogy of Our Blessed Virgin Mother, the Mother of Jesus Christ, Mother of God (Mater Dei).
From the Gospel of Saint Luke (Chapter 3 verses 23 – 38), running in reverse chronological order all the way back to Adam. Note, that the Virgin Mary’s descent from David’s line is through Nathan and not through Solomon (as is the case for Saint Joseph). Note, also that the Blessed Virgin Mary’s mother was Saint Anne (not mentioned in St. Luke’s Gospel but descended from a long line of holy persons) and her father was Joachim Heli (whose father was Mathat who in turn was the son of Levi).
And Jesus himself was beginning about the age of thirty years: being (as it was supposed) the son of Joseph, who was of Heli, who was of Mathat,
Who was of Levi, who was of Melchi. who was of Janne, who was of Joseph,
Who was of Mathathias, who was of Amos, who was of Nahum, who was of Hesli, who was of Nagge,
Who was of Mahath, who was of Mathathias, who was of Semei, who was of Joseph, who was of Juda,
Who was of Joanna, who was of Reza, who was of Zorobabel, who was of Salathiel, who was of Neri,
Who was of Melchi, who was of Addi, who was of Cosan, who was of Helmadan, who was of Her,
Who was of Jesus, who was of Eliezer, who was of Jorim, who was of Mathat, who was of Levi,
Who was of Simeon, who was of Judas, who was of Joseph, who was of Jona, who was of Eliakim,
Who was of Melea, who was of Menna, who was of Mathatha, who was of Nathan, who was of David,
Who was of Jesse, who was of Obed, who was of Booz, who was of Salmon, who was of Naasson,
Who was of Aminadab, who was of Aram, who was of Esron, who was of Phares, who was of Judas,
Who was of Jacob, who was of Isaac, who was of Abraham, who was of Thare, who was of Nachor,
Who was of Sarug, who was of Ragau, who was of Phaleg, who was of Heber, who was of Sale,
Who was of Cainan, who was of Arphaxad, who was of Sem, who was Of Noe, who was of Lamech,
Who was of Mathusale, who was of Henoch, who was of Jared, who was of Malaleel, who was of Cainan,
Who was of Henos, who was of Seth, who was of Adam, who was of God.
Saint Joseph and Blessed Virgin Mary, pray for us, now and at the hour of our death. Amen.
Dear Jesus, Thank You for the graces You bestowed upon Saint Joseph, the Blessed Virgin Mary and upon all of Your Saints and Angels. Amen.