إِن تَكْفُرُوا فَإِنَّ اللَّهَ غَنِيٌّ عَنكُمْ وَلَا يَرْضَى لِعِبَادِهِ الْكُفْرَ وَإِن تَشْكُرُوا يَرْضَهُ لَكُمْ وَلَا تَزِرُ وَازِرَةٌ وِزْرَ أُخْرَى ثُمَّ إِلَى رَبِّكُم مَّرْجِعُكُمْ فَيُنَبِّئُكُم بِمَا كُنتُمْ تَعْمَلُونَ إِنَّهُ عَلِيمٌ بِذَاتِ الصُّدُورِ
If you are ungrateful, Allah has indeed no need of you, though He does not approve ingratitude for His servants; and if you give thanks, He approves that for you. No bearer shall bear another’s burden; then your return will be to your Lord, whereat He will inform you concerning what you used to do. Indeed, He knows best what is in the breasts.
Agha Ali Puya Commentary
Commentary on Quran 39:7
[Pooya/Ali Commentary 39:7] Allah is free from all wants, and therefore man's ingratitude does not affect Him. He cares for man, so man's gratitude and service earn His pleasure, and man's ingratitude and rebellion are displeasing to Him. For "No bearer of burden shall bear the burden of another" see commentary of Baqarah: 48, 123 and 254; An-am: 165; Bani Israil: 15 and Fatir: 18.