A common misinterpretation of Luke 2:39 is assuming it describes an immediate return to Nazareth right after Jesus' birth in Bethlehem, overlooking the intervening temple events detailed in verses 22-38 such as purification and presentation offerings; this ignores the verse's phrase 'all things according to the law of the Lord,' which encompasses those rites, or falsely pits it against Matthew's account of fleeing to Egypt, whereas Luke simply omits that episode focusing instead on legal fulfillment before returning home, not implying perpetual residence in Bethlehem.
Luke 2:39
King James Version (1769)
39 And when they had performed all things according to the law of the Lord, they returned into Galilee, to their own city Nazareth.
Luke 2:39 underscores the obedience of Mary and Joseph to the Mosaic Law, as after completing all required rituals including Jesus' circumcision and presentation at the temple, they return with the infant Jesus to their home in Nazareth, Galilee, setting the stage for his upbringing in that humble town and fulfilling prophecies about the Messiah coming from Nazareth while affirming the family's devout adherence to Jewish customs before settling into everyday life.