After Herod the Great was dead, an angel of the Lord appeared to Joseph in a dream saying,
“Get up and take the young child and His mother and go back into the land of Israel. Those who wanted to take the young child’s life are dead.”
Joseph did as the Lord commanded, left Egypt and came back into the land of Israel.
But when Joseph heard that Herod Archelaus, the son of Herod the Great, was ruling over Judea, he became afraid. And being warned by God in a dream, he withdrew from Judea and went to Galilee where he settled in Nazareth.
This fulfilled the prophecy that said that the Messiah would be called a Nazarene.
Jesus grew and increased in strength. He was filled with wisdom. The grace of God was upon Him.