After the famine hit the 12 tribes of Israel migrated to Egypt from their original land of Canaan to live there. At first life was good for the people of Israel and it remained so for some time but then the people of Israel got enslaved by the people of Egypt and this lasted for a long time.