What does Matthew 1:8 mean?
As Matthew builds his listing of the line of Jesus from Abraham to Joseph, he does not include every link in the chain of fathers and sons. Some may have been omitted simply for the sake of space and time. This was apparently common practice in ancient genealogies.Matthew has come to the line of kings that followed from Solomon. Matthew's listing is very similar to that given in 1 Chronicles 3:10–14, except that Matthew leaves some of the names out. In this verse, he mentions Asaph—also spelled as Asa—who fathered Jehoshaphat, who fathered Joram. Joram was an ancestor to Uzziah, who was also known as Azariah.
Matthew omits three kings between Joram and Uzziah: Ahaziah, Joash, and Amaziah. Perhaps he does so because of their wickedness and connection to the wicked Athaliah, Ahab, and Jezebel (2 Kings 8:26–27). We don't know this for sure, since Matthew does include other wicked, disobedient kings from Jesus' line. Perhaps these were both wicked and irrelevant, for the purposes of Matthew's genealogy.