30:36

وَإِذَا أَذَقْنَا النَّاسَ رَحْمَةً فَرِحُوا بِهَا وَإِن تُصِبْهُمْ سَيِّئَةٌ بِمَا قَدَّمَتْ أَيْدِيهِمْ إِذَا هُمْ يَقْنَطُونَ

Transliteration:

Waitha athaqna alnnasa rahmatan farihoo biha wa-in tusibhum sayyi-atun bima qaddamat aydeehim itha hum yaqnatoona

Word by Word:

And when We cause people to taste mercy, they rejoice therein. But if afflicts them an evil for what have sent forth their hands, behold! They despair.

Translations:

And [thus it is:] when we let men taste [Our] grace, they rejoice in it; but if evil befalls them as an outcome of what their own hands have wrought lo! they lose all hope!

When We give men a taste of Mercy, they exult thereat: and when some evil afflicts them because of what their (own) hands have sent forth, behold, they are in despair!

And when We cause mankind to taste of mercy they rejoice therein; but if an evil thing befall them as the consequence of their own deeds, lo! they are in despair!

And when We make people taste of mercy they rejoice in it, and if an evil befall them for what their hands have already wrought, lo! they despair.

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.