Surah Al-Isra 17:83
وَإِذَآ أَنْعَمْنَا عَلَى ٱلْإِنسَـٰنِ أَعْرَضَ وَنَـَٔا بِجَانِبِهِۦ ۖ وَإِذَا مَسَّهُ ٱلشَّرُّ كَانَ يَـُٔوسًا
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.
Translation: Saheeh International
Tafsir
And when We are gracious to man the disbelieving man he is disregardful of giving thanks and turns aside turning his face away in arrogance; but when an ill such as poverty or hardship befalls him he is in despair despondent of God’s mercy.
Excerpt from Tafsir al-Jalalayn, commentary on 17:83, via Quran.com. The reader has the full commentary and 9 more tafsirs.