Matthew 1:24

24 Then Joseph woke up. He did exactly what God's angel commanded in the dream: He married Mary.

Matthew 1:24 In-Context

22 This would bring the prophet's embryonic sermon to full term:
23 Watch for this - a virgin will get pregnant and bear a son; They will name him Emmanuel (Hebrew for "God is with us").
24 Then Joseph woke up. He did exactly what God's angel commanded in the dream: He married Mary.
25 But he did not consummate the marriage until she had the baby. He named the baby Jesus.
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.