Surah Al-A'raf, ayah 173

7:173

أَوۡ تَقُولُوٓاْ إِنَّمَآ أَشۡرَكَ ءَابَآؤُنَا مِن قَبۡلُ وَكُنَّا ذُرِّيَّةٗ مِّنۢ بَعۡدِهِمۡۖ أَفَتُهۡلِكُنَا بِمَا فَعَلَ ٱلۡمُبۡطِلُونَ ١٧٣

Aw taqūlū innamā ashraka ābā'unā min qablu wakunnā dhurriyyatam mim ba'dihim afatuhlikunā bimā fa'alal-mubtilūn

Or [lest] you say, "It was only that our fathers associated [others in worship] with Allāh before, and we were but descendants after them. Then would You destroy us for what the falsifiers have done?"