وَلِيُمَحِّصَ اللَّهُ الَّذِينَ آمَنُوا وَيَمْحَقَ الْكَافِرِينَ
And so that Allah may purge [the hearts of] those who have faith and that He may wipe out the faithless.
Agha Ali Puya Commentary
Commentary on Quran 3:141
[Pooya/Ali Commentary 3:141] (see commentary for verse 140)