فَجَعَلْنَاهَا نَكَالاً لِّمَا بَيْنَ يَدَيْهَا وَمَا خَلْفَهَا وَمَوْعِظَةً لِّلْمُتَّقِينَ
[2:66]
So We made them an example to those who witnessed it and those who came after it, and an admonition to those who guard (against evil).
So We made it an example to their own time and to their posterity, and a lesson to those who fear Allah.
And We made it an example to their own and to succeeding generations, and an admonition to the Allah-fearing.