Matthew 1:18 Now the birth of Jesus Christ took place in this way. When his mother Mary had been betrothed to Joseph, before they came together she was found to be with child from the Holy Spirit.
The Lord is fulfilling a promise He made to Abraham (in 2091 BC when Abraham was 75 years old) at this time and a promise He made to King David who ruled over the nation Israel from 1010-970 BC. The genealogy given in Matthew 1:2-16 starts at Abraham, goes through David and ends with Jesus, the promised offspring to bless the nations and the promised son to rule over Israel forever (see Genesis 12:1-3,7; Galatians 3:16; 2 Samuel 7:12-14). This genealogy differs from that found in Luke 3:23-38. Why? Joseph was not the biological father of Jesus as Matthew 1:18 tells us. He was a descendant of David through David's son Solomon. However, Mary was a descendant of David through his son Nathan and Jesus was the biological offspring of Mary (see Luke 1:26-38). The line couldn't go through Solomon because God declared that Jehoiakim would never have a son that ruled over Israel (see Jeremiah 22:30; 36:30-31).
What can we learn from this passage of Scripture? (1) God keeps His promises; (2) God gives us an accurate historical account of what He is doing throughout history; (3) God uses each generation to accomplish His will.
As we read about God's promises to provide our spiritual, emotional, material and eternal needs, we know God will keep His promises. We know the Bible is not a book of myths, but an accurate record of what God has done in history, miracles and all. We know we have an important assignment to complete in our generation.