Surah Al-Isra, ayah 4

17:4

وَقَضَيۡنَآ إِلَىٰ بَنِيٓ إِسۡرَٰٓءِيلَ فِي ٱلۡكِتَٰبِ لَتُفۡسِدُنَّ فِي ٱلۡأَرۡضِ مَرَّتَيۡنِ وَلَتَعۡلُنَّ عُلُوّٗا كَبِيرٗا ٤

Waqadaynā ilā banī isrā'īla fil-kitābi latufsidunna fil-ardi marratayni walata'lunna 'uluwwan kabīrā

And We conveyed727 to the Children of Israel in the Scripture that, "You will surely cause corruption on the earth twice, and you will surely reach [a degree of] great haughtiness."

Footnotes

727 Foretold out of divine knowledge of what they would do.