THE READERS OF LUKE'S EUANGELICAL GOSPEL, LIKE MOST PEOPLE IN THE ANCIENT WORLD, DID NOT MAKE A SHARP DISTINCTION BETWEEN MYTH AND REALITY; THESE TWO WERE INTIMATELY TIED TOGETHER IN THEIR SPIRITUAL EXPERIENCE!
That is to say, they were less interested in what actually happened than in what it meant? It would have been perfectly normal - indeed, expected - for a writer in the ancient world to tell tales of gods & heroes whose fundamental facts would have been recognized as false but whose underlying message would be seen as true!
Hence, Matthai's equally fanciful account of Yesh's flight into Aegypt, ostensibly to escape Herod's massacre of all the sons born in and around Bethlehem in a fruitless search for the baby Yehoshua, an event for which there exists not a shred of corroborating evidence in any chronicle or history of the time whether Jewish, Christian, or Roman - a remarkable fact considering the many chronicles & special narratives written about Herod the Great, who was, after all, the most famous Jew in the whole of the Roman Empire (the King of the Jews, no less!).
As with Luke's account of Quirinius's census, Matthai's account of Herod's massacre was not intended to be read as what we would now consider HISTORY, certainly not by his own community, who would surely have remembered an event as unforgettable as the massacre of their own sons?! MAT nééds Jesus to come out of Aegypt for the same reason he needs him to be born in Bethlehem: to fulfill the scattered prophecies left behind by his ancestors for him and his fellow Jews to decipher, to place Yesh in the footsteps op the kings and Prophets who came before him, &, most of all, to answer the challenge made by Yesh's detractors that this simple peasant who died thus just now without fulfilling the single most important of the messianic prophecies - the restoration of Israel - wàs ìn fàct THÉ "an-ointed ÒNE!"