There are two different stories about the birth of Jesus, and two different answers.
In Matthew's Gospel, after the birth of Jesus Mary fled to Egypt, where she stayed until King Herod died. She then returned to Judea but, being warned by God, turned aside and went to Galilee instead.
In Luke's Gospel, Mary went to Jerusalem after the birth of Jesus, for her ritual purification, then travelled immediately to Galilee.
In Luke's Gospel, Joseph and Mary went from Bethlehem to Jerusalem to dedicate Jesus at the temple, then to their home in Nazareth. They never returned to Bethlehem.
In Matthew's Gospel, Joseph and Mary went from Bethlehem to Egypt and remained there until they got word of King Herod's death. They began the journey back to their home in Bethlehem but, being warned of danger from Archelaus, turned aside and travelled north to Galilee where they settled in a city called Nazareth.
In Luke's Gospel, Joseph and Mary went from Bethlehem to Jerusalem to dedicate Jesus at the temple, then to their home in Nazareth. They never returned to Bethlehem.
In Matthew's Gospel, Joseph and Mary went from Bethlehem to Egypt and remained there until they got word of King Herod's death. They began the journey back to their home in Bethlehem but, being warned of danger from Archelaus, turned aside and travelled north to Galilee where they settled in a city called Nazareth.
Egypt , to escape Herod
Thanks so much
They went to Egypt for a period of time.
They went into hiding in Egypt.
Joseph and Mary traveled to Bethlehem , as it was told to go to their respective hometowns for the census.
a person
yesbie
Joseph and Mary went to Bethlehem to be counted in a census so they could be taxed.
Joseph's ancestral home was Bethlehem. However, at the time he took Mary as his wife he was living in Nazareth.
Bethlehem
She traveled there with her husband Joseph, whose family was from Bethlehem.
Mary and Joseph were obliged to go to Bethlehem for the census by the Roman authorities. In a sense you could also say God led them, since it was ordained that Christ would be born in Bethlehem.
Matthew's Gospel indicates that Mary and Joseph were from Bethlehem in Judea. While returning from Egypt, they were warned in a dream to turn aside and go to Nazareth in Galilee, instead. Luke's Gospel says that Mary and Joseph were from Nazareth in Galilee. They travelled to Bethlehem for a census, then returned to Nazareth.
a census
Mary rode on a donkey, and I assume, Joseph walked at the side.
Bethlehem