Matthew 1:20

20 But after he had considered this, an angel of the Lord appeared to him in a dream and said, “Joseph son of David, do not be afraid to take Mary home as your wife, because what is conceived in her is from the Holy Spirit.

Matthew 1:20 in Other Translations

KJV
20 But while he thought on these things, behold, the angel of the Lord appeared unto him in a dream, saying, Joseph, thou son of David, fear not to take unto thee Mary thy wife: for that which is conceived in her is of the Holy Ghost.
ESV
20 But as he considered these things, behold, an angel of the Lord appeared to him in a dream, saying, "Joseph, son of David, do not fear to take Mary as your wife, for that which is conceived in her is from the Holy Spirit.
NLT
20 As he considered this, an angel of the Lord appeared to him in a dream. “Joseph, son of David,” the angel said, “do not be afraid to take Mary as your wife. For the child within her was conceived by the Holy Spirit.
MSG
20 While he was trying to figure a way out, he had a dream. God's angel spoke in the dream: "Joseph, son of David, don't hesitate to get married. Mary's pregnancy is Spirit-conceived. God's Holy Spirit has made her pregnant.
CSB
20 But after he had considered these things, an angel of the Lord suddenly appeared to him in a dream, saying, "Joseph, son of David, don't be afraid to take Mary as your wife, because what has been conceived in her is by the Holy Spirit.

Matthew 1:20 In-Context

18 This is how the birth of Jesus the Messiah came about : His mother Mary was pledged to be married to Joseph, but before they came together, she was found to be pregnant through the Holy Spirit.
19 Because Joseph her husband was faithful to the law, and yet did not want to expose her to public disgrace, he had in mind to divorce her quietly.
20 But after he had considered this, an angel of the Lord appeared to him in a dream and said, “Joseph son of David, do not be afraid to take Mary home as your wife, because what is conceived in her is from the Holy Spirit.
21 She will give birth to a son, and you are to give him the name Jesus, because he will save his people from their sins.”
22 All this took place to fulfill what the Lord had said through the prophet:

Cross References 2

Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.