Third, he adds the degrees of the processions, when he adds: Who was of Heli, etc. — But this seems to be contradicted by Matthew one, where it is said that "Jacob begot Joseph," who descends through Solomon. If therefore it is impossible that someone be begotten by two at the same time, either this genealogy or that of Matthew is entirely erroneous.
For the clarification of this matter, it should be noted that Mathat, who descended from David through Nathan, and Mathan, who descended from David through Solomon, successively had one wife, from whom Mathan begot Jacob, and Mathat begot Heli. A...nd thus Heli and Jacob were two uterine brothers. But Heli, having taken a wife, died without children, and therefore according to the Law, Jacob his brother took her, so that he might raise up seed for his brother, and from her "begot Joseph, the husband of Mary." Joseph therefore according to the flesh was the son of Jacob, who descended through Solomon; but according to the Law he was the son of Heli, who descended through Nathan. And since to perfectly write the genealogy of the Savior it was necessary that it be written both according to the Law and according to nature, therefore the Holy Spirit accomplished this through two Evangelists, such that through Matthew the carnal genealogy and through Luke the legal one.
This, however, was not done without a reasonable cause. For Matthew pursues Christ's kingship and humanity, according as he succeeded David, and therefore treats of his descent unto the assumption of our flesh. And because this was first promised to Abraham himself and promised again to David himself, therefore he begins the genealogy of the Savior from Abraham, descending through David and Solomon, who succeeded him in the kingdom. — Hence it is also that in descending he sets down only forty intermediate generations, because by that number the universality of time is designated, according to what Augustine says in the book On the Harmony of the Evangelists: for it is generated if ten is multiplied by four. Or according to another manner of counting, forty-two, according to the forty-two stations of the children of Israel, Numbers thirty-three: so that Jechoniah is counted twice, to designate Christ the cornerstone. And this number is generated from six multiplied by seven, in which the state of the present time is designated. And because the generation of Christ according to the flesh is the beginning of the Gospel, therefore it is placed at the beginning of the book. — But Luke pursues the priesthood of Christ, through which we are reconciled unto the adoption of sons from the state of sin, which indeed takes place through sacramental regeneration; therefore he pursues the adoptive or legal filiation of Christ, ascending all the way to God, and this through seventy-seven steps, because by that number, as Augustine says, the universality of sins is designated: for it is generated by eleven multiplied by seven. Therefore he also places this genealogy not at the beginning of the book, but after the baptism of Christ. Since therefore "the end imposes necessity upon those things which are ordered to the end," and Luke directed the eye of his principal intention toward the priesthood of Christ, but Matthew toward the kingship of Christ, hence it is that they pursued the genealogy of Christ in different ways: they described it not in a contrary manner nor by chance occurrence, but with a certain harmonious and well-articulated variety, the Holy Spirit directing them.
From these things the cause of the sevenfold difference between Luke and Matthew becomes apparent, namely in persons, because they set forth a twofold mode of paternity, according to nature and the Law: the first Matthew, the second Luke: in the first mode through Solomon, in the second through Nathan. — In progression, because Matthew descends, Luke ascends, and this because nature is the principle of propagating, but grace of leading back. — In manner, because Matthew says begot, Luke who was of: because the former indicates natural generation, the latter legal designation. — In time, because Matthew from the beginning, Luke from the thirtieth year, because the former indicates the beginning of being born, the latter of being reconciled. — In position, because Matthew from the beginning, Luke from the baptism, because the former principally attends to generation, the latter to regeneration. — In standing, because Matthew up to Abraham, Luke up to God, because the former indicates nature, and the latter grace, which sanctifies the children. — In number, because Matthew lists forty-two generations and forty persons, one being counted twice, to designate the universality of the pilgrimage to which he descended; Luke seventy-seven, through the number of transgression, which Christ expiated through baptism.
Spiritually it should be noted that all the names which are expressed in the genealogy of the Savior convey something mystical which avails unto salvation. However, in order to avoid tedium and curiosity, only the notable and principal places designated in these degrees should be attended to, namely the first, the seventh, the tenth, the seventeenth, the seventieth, the seventy-sixth — and the last. And thus seven notable places, such that in the first is the beginning of our salvation, in the last the completion, and in the intermediate ones the increase of progress.
In the first place is set Jesus, who is interpreted as Savior, because he saves and liberates from the servitude of sin: Matthew 1: "And you shall call his name Jesus; for he shall save his people from their sins." And this is the beginning of our salvation, to depart from evil: Psalm: "Who is the man who desires life and loves to see good days?" "Turn away from evil" etc. — In the seventh place, Jannai, who is interpreted as right hand, because, with sin forgiven, we are transferred from the left to the right: Colossians 1: "He rescued us from the power of darkness and transferred us into the kingdom of the Son of his love," that is, from the left to the right: Matthew 25: "He shall set the lambs on his right, but the goats on his left." — In the tenth place, Amos, who is interpreted as burdening, because, having been transferred to grace, we are invited to bear the burdens of the law: Matthew 11: "Come to me, all" etc. "Take my yoke upon you" etc.; concerning which yoke and burden it is said in Lamentations 3: "It is good for a man when he has borne the yoke from his youth." — In the seventeenth place, Joseph, who is interpreted as increase, because by keeping and bearing the burden of the law we are increased in grace: Ephesians 4: "Doing the truth in charity, let us grow up in him" etc.: Colossians 1: "That you may walk worthy of God, pleasing in all things, bearing fruit in every good work." — In the seventieth place, Enoch, who is interpreted as dedication, because by advancing in merit and charity we arrive at the quiet of the mind, in which God dwells as in a dedicated temple: John 14: "If anyone loves me, he will keep my word, and my Father will love him, and we will come to him and make our abode with him." And this one is borne upward to heaven through contemplation, just as Enoch, of whom Genesis 5 says: "He walked with God and appeared no more, because God took him"; and Wisdom 4: "Being pleasing to God" etc. — In the seventy-sixth place, Adam, who is interpreted as man, because the perfection of quiet and contemplation reforms in us the image of God, unto which man was made: Genesis 1: "Let us make man in our image" etc. Contemplation reforms this: 2 Corinthians 3: "But we, beholding the glory of God with unveiled face, are transformed into the same image from glory to glory"; and further on: "Although our outward man is corrupted" etc. — In the last place is subjoined God, toward whom we tend, in whom is the rest and end of all labors: John 17: "And this is eternal life, that they may know you, the true God, and Jesus Christ whom you have sent" etc.: and 1 Corinthians 15: "Then the end, when he shall have delivered the kingdom to God and the Father, when he shall have abolished all principality and power and virtue"; and afterward: "That God may be all in all." For now that is true which is said in 1 Corinthians 11: "The head of every man is Christ, and the head of the woman is the man, and the head of Christ is God"; now that other saying is true which is said in 1 Corinthians 3: "All things are yours, and you are Christ's, and Christ is God's." "Since therefore from him and through him and in him are all things: to God himself, eternal and living, be all honor and glory forever and ever. Amen."
Source: Commentary on Luke, Chapter 3