Ash-Shuraa 42:30
And whatever strikes you of disaster - it is for what your hands have earned; but He pardons much.
Ayah 30
وَمَآ أَصَٰبَكُم مِّن مُّصِيبَةٍ فَبِمَا كَسَبَتْ أَيْدِيكُمْ وَيَعْفُوا۟ عَن كَثِيرٍ
And whatever strikes you of disaster - it is for what your hands have earned; but He pardons much.