They went to Egypt after Jesus's birth.
Cited passages
He arose and took the young child and his mother by night, and departed into Egypt,
Matthew 2:14 says Joseph fled with Mary and the child to Egypt 'by night' immediately after the magi left. Luke 2:39 says after the temple purification rites — about 40 days after birth, per Lev 12 — they returned directly to Nazareth. The two itineraries cannot both be true: Luke leaves no time for an Egyptian sojourn, and Matthew leaves no room for the temple presentation and Nazareth return before the flight.
People have answered this in several ways; GEBible presents them as equal peers.
Cited passages
He arose and took the young child and his mother by night, and departed into Egypt,
Cited passages
When they had accomplished all things that were according to the law of the Lord, they returned into Galilee, to their own city, Nazareth.
Examining the tension
What follows is one scholar’s way of reading this disagreement — a critical-historical view that often concludes the texts genuinely disagree. It draws on the peer-reviewed sources listed below and stands as one position among the answers above, presented for transparency, not as GEBible’s position.
How critical scholarship weighs this: Widely regarded as a genuine contradiction
This summarizes where critical scholarship tends to land on this tension — a report on the field’s center of gravity, not GEBible’s own ruling.
This is among the most testable of the infancy tensions because it concerns elapsed time and itinerary, both of which the texts specify. Matthew 2:13-15: an angel appears to Joseph by night, the family flees at once to Egypt, and remains there "until the death of Herod" (4 BCE). Matthew 2:19-23: after Herod's death the angel reappears, the family returns from Egypt, and — for the first time in Matthew — settles in Nazareth. The Egyptian sojourn is firmly dated between the magi's departure and Herod's death.
Luke knows nothing of any of this. Luke 2:21-39 moves from circumcision on the eighth day, to the purification offering at the Jerusalem temple on roughly the fortieth day (Lev 12:2-4 prescribes the timing), and then: *hōs etelesan panta ta kata ton nomon kyriou, epestrepsan eis tēn Galilaian eis polin heautōn Nazaret* — "when they had completed everything according to the law of the Lord, they returned to Galilee, to their own city Nazareth" (Luke 2:39). No magi, no Herodian threat, no Egypt. The family proceeds from the temple to Nazareth. The two Gospels thus locate the family in two different countries at roughly the same point in the first year of Jesus's life.
The apologetic harmonization (Carson, Blomberg, the IVP Hard Sayings tradition) again rests entirely on reading Luke 2:39 as a summary that silently elides the Egyptian detour, on the grounds that Egypt did not serve Luke's Jerusalem-to-Galilee theological geography. The reading is not impossible, but two features of the data resist it. First, Luke's Greek is sequential, not summarizing: *epestrepsan* ("they returned") joined to *eis polin heautōn* ("to their own city") narrates an immediate, completed return with no signaled temporal gap. Second, Matthew's own structure requires the magi visit *before* the flight (Matt 2:13). To fit Matthew's magi-and-Egypt material into the space between Luke's day-forty temple presentation and Luke's Nazareth return, one must reconstruct the family travelling Bethlehem → Jerusalem (temple) → back to Bethlehem → receiving the magi → fleeing to Egypt → returning from Egypt → finally Nazareth — three Bethlehem-Jerusalem legs plus an international detour, the entirety of which Luke's single verb supposedly conceals. A reconstruction is "possible" only in the sense that any silence can be filled with whatever is needed.
The critical consensus (Brown, Fitzmyer, Bovon, Allison) is that the two infancy narratives are independent compositions built on incompatible traditions, each satisfying the shared constraints of a Bethlehem birth and a Nazareth upbringing by a different narrative route — and each route is theologically shaped. Matthew's is Moses-typological, as Allison's monograph documents in detail: a Pharaoh-like Herod, the slaughter of the male children echoing Exodus 1, the family's descent into and call out of Egypt sealed by *ex Aigyptou ekalesa ton huion mou* ("out of Egypt I called my son," Matt 2:15, citing Hosea 11:1, a verse whose original referent is the nation Israel, reapplied christologically). Luke's route is temple- and Jerusalem-centered, framing Jesus's origins within Israel's cult and law. The Egypt episode is intelligible as Matthean typology, not as suppressed Lukan history.
Where the critical reading lands: genuine contradiction. Matthew sends the family to Egypt; Luke takes them straight from the Jerusalem temple to Nazareth. Both cannot be the actual itinerary, and the harmonization that inserts Egypt into the silence of Luke 2:39 is a post hoc rationalization the Greek will not bear.
Sources for this reading