إِنَّ ٱلَّذِينَ ٱشْتَرَوُا۟ ٱلْكُفْرَ بِٱلْإِيمَٰنِ لَن يَضُرُّوا۟ ٱللَّهَ شَيْـًۭٔا وَلَهُمْ عَذَابٌ أَلِيمٌۭ
Sure Aal-i-Imraan
Tafsir 3:177
Those who exchange faith for disbelief will not harm Allah in any way: He is the Mighty and free from any need of His creation. They only harm themselves, and they will have a painful punishment in the Afterlife.