Surah Al-An'aam, Verse 44
Translation — Sahih International
So when they forgot that by which they had been reminded, We opened to them the doors of every [good] thing until, when they rejoiced in that which they were given, We seized them suddenly, and they were [then] in despair.
Source
Kur'an-ı Kerim, En'âm Suresi 6:44
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/6-suresi-44-ayet