21, And at the end of eight days, when he was circumcised, he was called Jesus, the name given by the angel before he was conceived in the womb.
22, And when the time came for their purification according to the Law of Moses, they brought him up to Jerusalem to present him to the Lord
39, And when they had performed everything according to the Law of the Lord, they returned into Galilee, to their own town of Nazareth.
So, not long after the Lord is born (40 days), they are back to Nazareth.
1, The LORD spoke to Moses, saying,
2, “Speak to the people of Israel, saying, If a woman conceives and bears a male child, then she shall be unclean seven days. As at the time of her menstruation, she shall be unclean.
3, And on the eighth day the flesh of his foreskin shall be circumcised.
4, Then she shall continue for thirty-three days in the blood of her purifying. She shall not touch anything holy, nor come into the sanctuary, until the days of her purifying are completed.
Herod sent the wise men to Bethlehem because of the prophecy BUT it nowhere says the wise men found Jesus in Bethlehem. When the magi left Jerusalem, the star guided them to where the Lord Jesus was, which would have been Nazareth. Perhaps the magi even realized this from the prophecy that “He would be called a Nazarene”. Unless the magi were at the actual birth, which they weren’t , only the shepherds, then they either never went to Bethlehem or were in Bethlehem within 40 days of the birth.
13, Now when they had departed, behold, an angel of the Lord appeared to Joseph in a dream and said, “Rise, take the child and his mother, and flee to Egypt, and remain there until I tell you, for Herod is about to search for the child, to destroy him.”
14, And he rose and took the child and his mother by night and departed to Egypt
15, and remained there until the death of Herod. This was to fulfill what the Lord had spoken by the prophet, “Out of Egypt I called my son.”
16, Then Herod, when he saw that he had been tricked by the wise men, became furious, and he sent and killed all the male children in Bethlehem and in all that region who were two years old or under, according to the time that he had ascertained from the wise men.
How big was this region? Did it encompass Nazareth?
17, Then was fulfilled what was spoken by the prophet Jeremiah:
18, “A voice was heard in Ramah, weeping and loud lamentation, Rachel weeping for her children; she refused to be comforted, because they are no more.”