Surah Al-An'am (الأنعام) · verse 42 (Meccan · Juz 7 · page 132)
وَلَقَدْ أَرْسَلْنَآ إِلَىٰٓ أُمَمٍ مِّن قَبْلِكَ فَأَخَذْنَٰهُم بِٱلْبَأْسَآءِ وَٱلضَّرَّآءِ لَعَلَّهُمْ يَتَضَرَّعُونَ ﴿42﴾
التفسير الميسر
ولقد بعثنا -أيها الرسول- إلى جماعات من الناس من قبلك رسلا يدعونهم إلى الله تعالى، فكذَّبوهم، فابتليناهم في أموالهم بشدة الفقر وضيق المعيشة، وابتليناهم في أجسامهم بالأمراض والآلام؛ رجاء أن يتذللوا لربهم، ويخضعوا له وحده بالعبادة
Sahih International
And We have already sent [messengers] to nations before you, [O Muhammad]; then We seized them with poverty and hardship that perhaps they might humble themselves [to Us]
Marmaduke Pickthall
We have sent already unto peoples that were before thee, and We visited them with tribulation and adversity, in order that they might grow humble
Abdullah Yusuf Ali
Before thee We sent (messengers) to many nations, and We afflicted the nations with suffering and adversity, that they might learn humility