Matthew 2:13-15, 19-23
Matthew 2:13-15 NASB1995
Now when they had gone, behold, an angel of the Lord *appeared to Joseph in a dream and said, “Get up! Take the Child and His mother and flee to Egypt, and remain there until I tell you; for Herod is going to search for the Child to destroy Him.” So Joseph got up and took the Child and His mother while it was still night, and left for Egypt. He remained there until the death of Herod. This was to fulfill what had been spoken by the Lord through the prophet: “OUT OF EGYPT I CALLED MY SON.”
Matthew 2:19-23 NASB1995
But when Herod died, behold, an angel of the Lord *appeared in a dream to Joseph in Egypt, and said, “Get up, take the Child and His mother, and go into the land of Israel; for those who sought the Child’s life are dead.” So Joseph got up, took the Child and His mother, and came into the land of Israel. But when he heard that Archelaus was reigning over Judea in place of his father Herod, he was afraid to go there. Then after being warned by God in a dream, he left for the regions of Galilee, and came and lived in a city called Nazareth. This was to fulfill what was spoken through the prophets: “He shall be called a Nazarene.”