Sure Ar-Room

30:41

ظَهَرَ ٱلْفَسَادُ فِى ٱلْبَرِّ وَٱلْبَحْرِ بِمَا كَسَبَتْ أَيْدِى ٱلنَّاسِ لِيُذِيقَهُم بَعْضَ ٱلَّذِى عَمِلُوا۟ لَعَلَّهُمْ يَرْجِعُونَ

Unheil ist auf dem Festland und im Meer erschienen wegen dessen, was die Hände der Menschen erworben haben, damit Er sie einiges von dem kosten läßt, was sie getan haben, auf daß sie umkehren mögen.

Tafsir 30:41

Corruption has appeared in the land and sea in the lives of people by their span becoming shorter, and in their bodies by way of diseases and illnesses, due to the sins they commit. It has become apparent so that Allah may give them a taste of some of their evil deeds in the worldly life, perhaps they repent to Him.