19 Now when Herod was dead, behold, an angel of the Lord appeared in a dream to Joseph in Egypt, 20 saying, "Arise, take the young Child and His mother, and go to the land of Israel, for those who sought the young Child's life are dead." 21 Then he arose, took the young Child and His mother, and came into the land of Israel.
22 But when he heard that Archelaus was reigning over Judea instead of his father Herod, he was afraid to go there. And being warned by God in a dream, he turned aside into the region of Galilee. 23 And he came and dwelt in a city called Nazareth, that it might be fulfilled which was spoken by the prophets, "He shall be called a Nazarene."
Luke 2:39-40 The Family Returns to Nazareth
39 So when they had performed all things according to the law of the Lord, they returned to Galilee, to their own city, Nazareth. 40 And the Child grew and became strong in spirit, filled with wisdom; and the grace of God was upon Him.