Surah Al-Ankaboot

29:3

وَلَقَدْ فَتَنَّا ٱلَّذِينَ مِن قَبْلِهِمْ ۖ فَلَيَعْلَمَنَّ ٱللَّهُ ٱلَّذِينَ صَدَقُوا۟ وَلَيَعْلَمَنَّ ٱلْكَٰذِبِينَ

But We have certainly tried those before them, and Allah will surely make evident those who are truthful, and He will surely make evident the liars.

Tafsir 29:3

I tested those before them, so Allah will make clear and disclose to you the truth of those who were true in their faith and the lie of those who were dishonest therein.