God said that Abraham's descendants would live for a while in a foreign land. There they would be slaves and would be ill-treated four hundred years.