Surah Al-An'am 6:42
وَلَقَدْ أَرْسَلْنَآ إِلَىٰٓ أُمَمٍ مِّن قَبْلِكَ فَأَخَذْنَـٰهُم بِٱلْبَأْسَآءِ وَٱلضَّرَّآءِ لَعَلَّهُمْ يَتَضَرَّعُونَ
And We have already sent [messengers] to nations before you, [O Muḥammad]; then We seized them with poverty and hardship that perhaps they might humble themselves [to Us].
Translation: Saheeh International
Tafsir
Indeed We sent to communities before you min qablika min is extra messengers but they denied them and We seized them with misery abject poverty and hardship illness so that they might be humble abased that they might believe.
Excerpt from Tafsir al-Jalalayn, commentary on 6:42, via Quran.com. The reader has the full commentary and 9 more tafsirs.