The Highway to Nazareth Having studied and taught Biblical Geography, it became informative to see that there were several
highways that went from Egypt north to Israel and points beyond. One of the major routes was called the Way of the Sea (Via Maris) and it followed the coast of the Mediterranean Sea. (Actually, there were two parallel routes here.) This is referred to in Acts 8:26 when Philip ministered to the Ethiopian.
There was a minor road that went from Egypt through the Sinai through Hebron, and to Jerusalem, but this was not as important a road.
The major route that Joseph and Mary would have taken was called the Way of the Kings or "the Kings' Highway." It went through the Sinai Peninsula up through Edom, along the east side of the Dead Sea, and on upward to Syria and over to Babylon. This is similar to the path that Moses and the ancient Israelites took on their way to the Promised Land.
After traveling along the East side of the Jordan River they would come to the east/west road that traversed the Valley of Jezreel. This went by the village of Nazareth, which was their destination! This was not a very isolated town, since there was also a road from Sepphoris, just a few miles northwest, to the spas on the southern side of the Sea of Galilee where Herod Antipas had another palace...and then going on up to Capernaum, and parts north caravans and merchants shipped their wares. So little Jesus was exposed to many types of people while growing up.
This path of the Holy Family, along the Kings' Highway, bypassed the region of the treacherous Archaelaus (Judea) and safely brought them home.
Historical Note Orthodox rabbis considered themselves "contaminated" if they traveled through Samaria on their way from Judea to Galilee, so they also took the same route the Holy Family took along the east side of the Jordon River, even though it was a longer trip. Jesus spent much of His ministry "Beyond Jordon" (also called Perea) to avoid persecution in Judea (Matthew 19:1, John 10:39-40). Still, not bound by tradition, at times Jesus deliberately traveled through Samaria to preach and heal (Luke 17:11). He did not share the same prejudices against the Samaritans as did the rabbis of Jerusalem. He even used the "Good Samaritan" as a parable.
Map Accuracy The Map pictured in this posted Question is inaccurate and misleading! The territory south of Galilee was not Judea, but Samaria. To the south of Samaria was Judea, and farther south was Idumaea. This map tends to skew the answers and comments.
All these territory locations militate against the Holy Family taking the western route to Nazareth. Idumaea was the birthplace of the wicked King Herod...Judaea was the present territory of mean Archaelaus, whom the Holy Family was trying to avoid...and Samaria would not be friendly to a Jewish family if they knew they were heading toward Galilee.
Also with that, if the Family took the western route they would be passing by several Egyptian forts along the way out of Egypt. These would be intimidating.
Just as Moes was led out of Egypt, and went along the King's Highway, it was typologically fitting that He who is born King of the Jews would take the King's Highway out of Egypt, too.
Out of Egypt I have led my Son. (Matthew 2:15)