Joseph then gathers Mary and Jesus in the dead of night to flee to Egypt, making them refugees who are escaping persecution. They only return to the land of Judea after King Herod has died.