4:147
مَّا يَفْعَلُ ٱللَّهُ بِعَذَابِكُمْ إِن شَكَرْتُمْ وَءَامَنتُمْ ۚ وَكَانَ ٱللَّهُ شَاكِرًا عَلِيمًا
mā yafʿalu l-lahu biʿadhābikum in shakartum waāmantum wakāna l-lahu shākiran ʿalīman
Why should God make you suffer torment if you are thankful and believe in Him? God always rewards gratitude and He knows everything.
Why should Allâh punish you if you have thanked (Him) and have believed in Him. And Allâh is Ever All-Appreciative (of good), All-Knowing.