An-Nisaa • EN-AL-JALALAYN
﴿ مَّا يَفْعَلُ ٱللَّهُ بِعَذَابِكُمْ إِن شَكَرْتُمْ وَءَامَنتُمْ ۚ وَكَانَ ٱللَّهُ شَاكِرًا عَلِيمًۭا ﴾
“Why would God cause you to suffer [for your past sins] if you are grateful and attain to belief - seeing that God is always responsive to gratitude, all-knowing?”
Why would God chastise you if you are thankful of His favours and believe in Him? the interrogative is meant as a denial in other words He would not punish you. God is ever Thankful of the deeds of believers rewarding them Knowing of His creation.