Surah An-Nahl

16:107

ذَٰلِكَ بِأَنَّهُمُ ٱسْتَحَبُّوا۟ ٱلْحَيَوٰةَ ٱلدُّنْيَا عَلَى ٱلْءَاخِرَةِ وَأَنَّ ٱللَّهَ لَا يَهْدِى ٱلْقَوْمَ ٱلْكَٰفِرِينَ

That is because they preferred the worldly life over the Hereafter and that Allah does not guide the disbelieving people.

Tafsir 16:107

Such apostasy from Islam is because they gave preference to the trivial things of this world as a benefit for their disbelief in the Hearafter and because Allah does not guide to faith people who disbelieve, but He abandons them.