Sure Al-Ahzaab

33:73

لِّيُعَذِّبَ ٱللَّهُ ٱلْمُنَٰفِقِينَ وَٱلْمُنَٰفِقَٰتِ وَٱلْمُشْرِكِينَ وَٱلْمُشْرِكَٰتِ وَيَتُوبَ ٱللَّهُ عَلَى ٱلْمُؤْمِنِينَ وَٱلْمُؤْمِنَٰتِ ۗ وَكَانَ ٱللَّهُ غَفُورًۭا رَّحِيمًۢا

(Das ist so,) damit Allah die Heuchler, Männer und Frauen, und die Götzendiener, Männer und Frauen, straft und sich den Gläubigen, Männern und Frauen, ReueAnnehmend zuwendet. Allah ist Allvergebend und Barmherzig.

Tafsir 33:73

The human carried it as per the decree of Allah, so that Allah could then punish the male and female hypocrites and idolaters for their hypocrisy and ascribing partners with Allah, and so that He could forgive the believing men and women who carried the burden of obligation well. And Allah Forgiving of the sins of His servants who repent and is merciful to them.