Matthew wrote that there were 14 generations from David to the deportation. He listed the generations. He skips three generations, putting Uzziah in the place of Ahaziah, Joash, Amaziah, and Azariah.
So either Matthew has an error in counting the generations or 1 Chronicles 3 has an error in listing the generations.
Matthew 1 And David was the father of Solomon by the wife of Uriah, 7 and Solomon the father of Rehoboam, and Rehoboam the father of Abijah, and Abijah the father of Asaph, and Asaph the father of Jehoshaphat, and Jehoshaphat the father of Joram, and Joram the father of Uzziah, 9and Uzziah the father of Jotham, and Jotham the father of Ahaz, and Ahaz the father of Hezekiah...So all the generations from Abraham to David are fourteen generations; and from David to the deportation to Babylon, fourteen generations; and from the deportation to Babylon to the Messiah, fourteen generations.
1 Chronicles 3 The descendants of Solomon: Rehoboam, Abijah his son, Asa his son, Jehoshaphat his son, 11 Joram his son, Ahaziah his son, Joash his son, 12 Amaziah his son, Azariah his son, Jotham his son, 13 Ahaz his son, Hezekiah his son,
1 Chronicles 3.....Matthew
Solomon............ Solomom
Rehoboam...........Rehoboam
Abijah.............Abijah
Asa................Asaph
Jehoshaphat........Jehoshaphat
Joram..............Joram
Ahaziah............missing from Matthew
Joash..............missing from Matthew
Missing from 1 Chronicles......Uzziah
Amaziah............missing from Matthew
Azariah............missing from Matthew
Jotham.............Jotham
Ahaz...............Ahaz
Hezekiah...........Hezekiah
Minor differences in the names aren’t errors. Claiming there were 14 generations when there were 17 generations is an error. Actually, Matthew also skips Jehoiakim, so his miscount is off by 4. But I don’t want to pile on right now.
This is another error which disproves the man-made doctrine of inerrancy. It is an insignificant and minor error from the perspective of the validity and credibility of scriptures. It is another proof that the doctrine of inerrancy is false.