Al-Baqarah 2:66
فَجَعَلْنَـٰهَا نَكَـٰلًا لِّمَا بَيْنَ يَدَيْهَا وَمَا خَلْفَهَا وَمَوْعِظَةً لِّلْمُتَّقِينَ
FajaAAalnaha nakalanlima bayna yadayha wama khalfahawamawAAithatan lilmuttaqeen
And We made it a deterrent punishment for those who were present and those who succeeded [them] and a lesson for those who fear Allāh.
Thus, We made it a deterrent for those around and (those who came) after them - and a lesson for the God-fearing.