Reference

Acts 7:6-7 (NIV)

God spoke to him in this way: ‘For four hundred years your descendants will be strangers in a country not their own, and they will be enslaved and mistreated. 

But I will punish the nation they serve as slaves,’ God said, ‘and afterward they will come out of that country and worship me in this place.’