The Romans - 30:41 Calamities spread on land and sea because of what the people have done with their hands. So He makes them taste some of what they used to do in order that they may turn back (from evil).
Related:
The Romans/30:41 Calamities spread on land and sea because of what the people have done with their hands. So He makes them taste some of what they used to do in order that they may turn back (from evil).

Council/42:48 If they turn away, We have not sent you to them as a guardian; your duty is only to inform. When We give man a taste of mercy from Us, he rejoices in it; but when evil befalls them as a result of what they themselves have done, then man becomes ungrateful.
Council/42:30 Any evil that touches you is a consequence of what you used to do. And He forgives most of them.

The Women/4:78 "Death overtakes you wherever you are, even if you are in strong fortresses. If something good befalls them, they say, "It is from Allah". And if evil befalls them, they say, "It is from you."Say, "It is all from Allah."What is happening to this people that they hardly understand any hadith (saying)!"
The Women/4:79 Every good that comes to you is from Allah, and every evil that comes to you is from yourself. We have sent you as a messenger to mankind, and Allah is sufficient as a witness.

The Stories/28:47 "So that when a calamity befalls them because of what their own hands have wrought, they may not be able to say: "Our Lord, if you had sent us a messenger, we would have followed your verses and been of the believers"..."

The Heights/7:131 "When good came to them, they used to say: "We deserved it", and when evil touched them, they used to accuse Moses and his companions of bad luck. Indeed, their bad luck is decided by Allah. But most of them do not know."

The Thunder/13:31 Even if there were a Qur´an by which the mountains are moved, or the earth is torn asunder, or the dead are raised (they would not believe). All affairs are under the control of Allah. Have the believers not yet realized that if Allah willed, He could guide all mankind to the truth? Those who disbelieve will suffer a calamity, either upon their heads or upon their relatives, as a reward for what they have done, until Allah´s Word is fulfilled. Allah does not go back on His word.

The Romans/30:36 When We bestow a mercy on the people, they rejoice in it. But when evil touches them as a recompense for what they used to do, they immediately fall into despair.

Sheva/34:50 "Say, "If I go astray, it is my own fault, but if I find the way, it is because my Lord has revealed it to me. He is All-Hearing, All-Knowing."