6:42
وَلَقَدْ أَرْسَلْنَآ إِلَىٰٓ أُمَمٍ مِّن قَبْلِكَ فَأَخَذْنَـٰهُم بِٱلْبَأْسَآءِ وَٱلضَّرَّآءِ لَعَلَّهُمْ يَتَضَرَّعُونَ
walaqad arsalnā ilā umamin min qablika fa-akhadhnāhum bil-basāi wal-ḍarāi laʿallahum yataḍarraʿūna
We sent messengers before you [Prophet] to many communities and afflicted their people with suffering and hardships, so that they could learn humility.
Verily, We sent (Messengers) to many nations before you (O Muhammad صلى الله عليه وسلم). And We seized them with extreme poverty (or loss in wealth) and loss in health (with calamities) so that they might humble themselves (believe with humility).