Al-Hashr 59:19
And be not like those who forgot Allāh, so He made them forget themselves. Those are the defiantly disobedient.
Ayah 19
وَلَا تَكُونُوا۟ كَٱلَّذِينَ نَسُوا۟ ٱللَّهَ فَأَنسَىٰهُمْ أَنفُسَهُمْ ۚ أُو۟لَٰٓئِكَ هُمُ ٱلْفَٰسِقُونَ
And be not like those who forgot Allāh, so He made them forget themselves. Those are the defiantly disobedient.