God also told him that his descendants would live in a foreign land, where they would be oppressed as slaves for 400 years.