The angel of the Lord's instructions:
Arise, take your family and flee to Egypt.
Stay until I bring you word.
Reason: Herod is seeking out the young child to destroy
He arose, took Mary and Jesus by night, and departed for Egypt.
Prophesy that would be fulfilled from it:
"Out of Egypt I called my son."
Be quick to listen and obey God's voice. Joseph didn't doubt or question or need a schedule. He just heard what he needed to do and did it. God used Joseph to protect the Savior.
Sometimes Christianity can be scoffed at when things get hard, but Jesus was born into adversity in a time frame innocent little boys were being killed.
God knew Joseph was the type of man with the character and the heart to listen and follow His leading