The Bible describes a very specific event in the early life of Jesus in Egypt. Here's what's recorded:
* Escape to Egypt: After Jesus was born, an angel appeared to Joseph in a dream, warning him that King Herod planned to kill all male children in Bethlehem who were two years old or younger. The angel instructed Joseph to take Mary and Jesus and flee to Egypt.
* Stay in Egypt: The Bible doesn't provide details about how long they stayed in Egypt or where they lived. It simply states they remained there until Herod died.
* Return from Egypt: After Herod's death, an angel again appeared to Joseph in a dream, telling him it was safe to return to the land of Israel.
In summary, according to the Bible, Jesus, Mary, and Joseph went to Egypt to escape Herod's persecution and remained there until it was safe to return to Israel.
It's important to note:
* Lack of Detail: The Bible provides very few details about their time in Egypt. There are no specific accounts of Jesus performing miracles or teaching while there.
* Apocryphal Traditions: There are extra-biblical stories and traditions (found in apocryphal texts) that elaborate on the time in Egypt, often attributing miracles and events to the infant Jesus. However, these accounts are not considered canonical by most Christian denominations.
* Historical Context: Egypt had a significant Jewish population at the time, so it would have been a natural refuge for a Jewish family fleeing persecution.