3وَلَقَد فَتَنَّا الَّذينَ مِن قَبلِهِم ۖ فَلَيَعلَمَنَّ اللَّهُ الَّذينَ صَدَقوا وَلَيَعلَمَنَّ الكاذِبينَBijan MoeinianThe believers before them were subjected to the hardship to pass the test in spite of the fact that God knew in advance which one of them was a true believer (and which one pretending to be a believer.)