After Herod died, an angel of the Lord appeared in a dream to Joseph in Egypt and told him to take the Child and His mother and go to the land of Israel, because those who had sought the Child's life were dead. Joseph got up and did so.
But when he heard that Archelaus was reigning over Judea in place of his father Herod, he was afraid to go there, and, warned in another dream, he went instead to the district of Galilee. The next verse tells that the family settled in Nazareth. Herod's death is usually dated to 4 BC.
The passage
19After Herod died, an angel of the Lord appeared in a dream to Joseph in Egypt. 20“Get up!” he said. “Take the Child and His mother and go to the land of Israel, for those seeking the Child’s life are now dead.” 21So Joseph got up, took the Child and His mother, and went to the land of Israel. 22But when he learned that Archelaus was reigning in Judea in place of his father Herod, he was afraid to go there. And having been warned in a dream, he withdrew to the district of Galilee,
Sources: Theographic Bible Metadata, CC BY-SA 4.0 · Tyndale Open Study Notes © 2022 and Tyndale Open Bible Dictionary © 2023 Tyndale House Publishers, CC BY-SA 4.0 — adapted and shortened; the original work is available for free at tyndaleopenresources.com · Sources and rights
