Jesus wasn’t homeless. Mary and Joseph were traveling not refugees or immigrants.
But they became refugees and immigrants: they were forced into exile in Egypt.