This question already has an answer here:
These questions keep me wondering:
Firstly, how is it possible that Matthew and Luke came up with completely different genealogies of Jesus's ancestors, if they are both following the masculine line?
And more importantly, if I'm overlooking something and both Matthew and Luke were right, how can this 13-generatons gap be justified?
Matthew 1 | Luke 3 ------------+------- David | David Solomon | Nathan Rehoboam | Mattatha Abijah | Menna Asa | Melea Jehoshaphat | Eliakim Jehoram | Jonam Uzziah | Joseph Jotham | Judah Ahaz | Simeon Hezekiah | Levi Manasseh | Matthat Amon | Jorim Josiah | Eliezer | Joshua | Er | Elmadam | Cosam | Addi | Melchi | Neri Jehoiachin | <-- According to Matthew the exile started here Shealtiel | Shealtiel <-- Same names Zerubbabel | Zerubbabel <-- Same names Abiud | Rhesa Eliakim | Joanan Azor | Joda Zadok | Josech Achim | Semein Eliud | Mattathias Eleazar | Maath Matthan | Naggai Jacob | Esli | Nahum | Amos | Mattathias | Joseph | Jannai | Melchi | Levi | Matthat | Heli Joseph | Joseph Jesus | Jesus