سُبْحَانَ ٱللَّٰهِ
Holy Qur'an
Al-Qur'an
Kids Qur'an
This connects with verses {12-14} above. It should be borne in mind that in ancient Arabic usage the term - qarn - here rendered as "generation" - often denotes "a period of time succeeding another": hence, a "century", or "people of one and the same period" and, finally, a "civilization" in the historical sense of this word. That this last significance is intended here becomes evident from the sequence.
Lit., "they wandered searching (naqqabu) in the lands: Is there any place of refuge?" - implying that after the destruction of their civilization they could do no more than strive for bare survival.
While virtue and righteousness will accomplish their final goal, what will be the End of Sin? Let the past tell its story. Many powerful and arrogant generations were swept away, to stray in the paths of misery, without any way of escape from the consequences of their sin. This was already seen in the life of this world. In the world to come, it will be worse, as already stated in verses 24-26 above.