Once you have entered Babylon you will be there a great many years, a long stretch of time, up to seven generations. After that I will lead you out of there in peace.
In context
1Because of the sins you committed before God, you will be led off to Babylon as captives by Nebuchadnezzar, king of the Babylonians. 2Once you have entered Babylon you will be there a great many years, a long stretch of time, up to seven generations. After that I will lead you out of there in peace. 3Now in Babylon you will see gods of silver and gold and wood, carried on shoulders, putting the nations in fear. 4So take care: do not be made like the foreigners and made over into copies of them, and do not let fear of those gods take hold of you