Ar-Rum 30:36
وَإِذَآ أَذَقْنَا ٱلنَّاسَ رَحْمَةً فَرِحُوا۟ بِهَا ۖ وَإِن تُصِبْهُمْ سَيِّئَةٌۢ بِمَا قَدَّمَتْ أَيْدِيهِمْ إِذَا هُمْ يَقْنَطُونَ
Watha athaqna annasarahmatan farihoo biha wa-in tusibhumsayyi-atun bima qaddamat aydeehim itha hum yaqnatoon
And when We let the people taste mercy, they rejoice therein, but if evil afflicts them for what their hands have put forth, immediately they despair.
When We give people a taste of mercy, they are happy with it, and if they are touched by an evil because of what their hands sent ahead, they are at once in despair.