Surah Al-Isra, ayah 83

17:83

وَإِذَآ أَنۡعَمۡنَا عَلَى ٱلۡإِنسَٰنِ أَعۡرَضَ وَنَـَٔا بِجَانِبِهِۦ وَإِذَا مَسَّهُ ٱلشَّرُّ كَانَ يَـُٔوسٗا ٨٣

Wa idhā an'amnā 'alal-insāni a'rada wana'ā bijānibihī wa idhā massahush-sharru kāna ya'ūsā

And when We bestow favor upon man [i.e., the disbeliever], he turns away and distances himself; and when evil touches him, he is ever despairing.