Al-Ahzaab • EN-TAFSIR-IBN-ABBAS
﴿ لِّيَجْزِىَ ٱللَّهُ ٱلصَّٰدِقِينَ بِصِدْقِهِمْ وَيُعَذِّبَ ٱلْمُنَٰفِقِينَ إِن شَآءَ أَوْ يَتُوبَ عَلَيْهِمْ ۚ إِنَّ ٱللَّهَ كَانَ غَفُورًۭا رَّحِيمًۭا ﴾
“[Such trials are imposed upon man] so that God may reward the truthful for having been true to their word, and cause the hypocrites to suffer - if that be His will - or [if they repent,] accept their repentance: for, verily, God is indeed much-forgiving, a dispenser of grace!”
(That Allah may reward the true men for their truth) that Allah may reward the loyal for their loyalty, (and punish the hypocrites if He will) if they die as hypocrites, (or relent towards them (if He will)) before they die. (Lo! Allah is Forgiving) He forgives those who repent, (Merciful) he shows mercy towards those who die repentant.