1:1 A record of the genealogy of Jesus Christ the son of David [a messianic title (cf. Matt. 12:23; 20:30-31; 21:9)], the son of Abraham [first person in Bible called a Hebrew (Gen. 14:13); father of the Jewish people (John 8:39)]:
1:2 Abraham was the father of Isaac [Isaac’s birth recorded in Gen. 21:1-7], Isaac the father of Jacob [God changed his name to Israel (Gen. 32:38)], Jacob the father of Judah and his brothers [Jacob was the father of twelve sons whose descendants became known as the children of Israel],
1:16 and Jacob the father of Joseph, the husband of Mary [Joseph not listed as the father of Jesus], of whom was born Jesus, who is called Christ [Gr. equivalent of the Hebrew title “messiah” which means “anointed one”].
1:17 Thus there were [note three groups of fourteen generations each]  fourteen generations in all from Abraham to David,  fourteen from David to the exile to Babylon, and  fourteen from the exile to the Christ.
1:18 This is how the birth of Jesus Christ came about: His mother Mary was pledged [a more binding arrangement than our modern-day engagement] to be married to Joseph, but before they came together [Mary and Joseph had not yet had sexual relations], she was found to be with child [probably occurred after Mary returned from visiting her cousin Elizabeth (Lk. 1:39-56) at which time Mary would have been three months pregnant] through the Holy Spirit [see Lk. 1:34-35].
1:19 Because Joseph her husband [to be “pledged” (1:18) was as legally binding as marriage thus Joseph is called Mary’s “husband”] was a righteous [devout; law-abiding; took God’s standards seriously; had a high moral character] man and [the following indicates that Mary had not yet explained her visit from the angel to Joseph; Joseph evidently considered two options]  did not want to expose her to public disgrace [Joseph was discreet], he had in mind to  divorce her quietly [Joseph was sensitive and did not want to hurt Mary].
1:20 But [God had another option for Joseph] after he had considered this [divorcing Mary], an angel of the Lord [God intervened] appeared to him in a dream [the means God used to convey His message to Joseph] and said, “Joseph son of David, do not be afraid [regardless of the repercussions] to take Mary home as your wife, because what is conceived in her is from the Holy Spirit.
Note: “It’s a tough job, but somebody’s got to do it!”
The work of angels in the Bible includes:
• Encouragement — Genesis 16:7ff
• Guidance — Exodus 14:19
• Punishment — 2 Samuel 24:16
• Exalt God — Isaiah 6:3
• Protection — Daniel 6:22
• Patrol the Earth — Zechariah 1:9-14
• Fight Evil — 2 Kings 6:16-18; Revelation 20:1-2
• Messengers — Luke 1:26
• Praise God — Revelation 7:11-12
Note: Dreams in Matthew’s Gospel include:
• Matthew 2:12 — God warned the wise men about Herod
• Matthew 2:13 — God told Joseph to take his family to Egypt
• Matthew 2:19 — God reported Herod’s death to Joseph
• Matthew 2:22 — God told Joseph not to return to Judea
1:21 She will give birth to a son, and you are to give him the name Jesus [Gr. form of Joshua which means “the Lord saves”], because he will save his people from their sins [not from their political enemies or oppressors].”
1:22 All this took place to fulfill what the Lord had said through the prophet:
1:23 [see Isaiah 7:14] “The virgin will be with child and will give birth to a son, and they will call him Immanuel [described Jesus’ role]”—which means, “God with us [see Jn. 1:14; Jesus explained God to us (Jn. 1:18)].”
1:24 When Joseph woke up, [Joseph was obedient…] he did what the angel of the Lord had commanded him and took Mary home as his wife.
Note: Have you ever avoided doing what you knew was right because you feared what others might think?
1:25 But he had no union with her [Joseph was self-disciplined] until she gave birth to a son [Joseph and Mary consummated their marriage after the birth of Jesus; Jesus had half- brothers (see Matt. 12:46)]. And he gave him the name Jesus [eight days after the birth at the time of circumcision (Lk. 2:21)].