Matthew 1:17
1:17The names of all their ancestors were very important to the Jews. Then they knew that they were Jews. The list shows that Jesus was in the same family as Abraham, Judah, Joshua and David. They were his ancestors. Matthew records Jesus' ancestors as far as Joseph. Jesus was Mary's son, but he was not Joseph's son. Matthew explains this in the next verses. But, when Joseph married Mary, he became the father of Jesus by the law .