Sure An-Nisaa

4:38

وَٱلَّذِينَ يُنفِقُونَ أَمْوَٰلَهُمْ رِئَآءَ ٱلنَّاسِ وَلَا يُؤْمِنُونَ بِٱللَّهِ وَلَا بِٱلْيَوْمِ ٱلْءَاخِرِ ۗ وَمَن يَكُنِ ٱلشَّيْطَٰنُ لَهُۥ قَرِينًۭا فَسَآءَ قَرِينًۭا

und diejenigen, die ihren Besitz ausgeben, um von den Menschen gesehen zu werden, und nicht an Allah und (auch) nicht an den Jüngsten Tag glauben; wer den Satan zum Gesellen hat, der hat da einen bösen Gesellen.

Tafsir 4:38

Allah has prepared this humiliating punishment for those who spend their wealth so that people notice them and praise them, and those who do not have faith in Allah and the Last Day. It is through following Satan that they have gone the wrong way. Whoever has Satan for a friend and companion has a terrible companion.