They migrated first to Somalia and then later to Egypt where they lived until the time of Moses .
They moved first to Somalia and then to Egypt where they lived until the time of Moses .