Genesis 15:13 in the King James Version
And he said unto Abram, Know of a surety that thy seed shall be a stranger in a land that is not theirs, and shall serve them; and they shall afflict them four hundred years;
Context
12 When the sun was going down, a deep sleep fell on Abram. Now terror and great darkness fell on him.
13 He said to Abram, “Know for sure that your offspring will live as foreigners in a land that is not theirs, and will serve them. They will afflict them four hundred years.
14 I will also judge that nation, whom they will serve. Afterward they will come out with great wealth;