O you who have believed, let not your wealth and your children divert you from remembrance of Allah. And whoever does that - then those are the losers.
The Saheeh International Quran Translation
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تُلْهِكُمْ أَمْوَٰلُكُمْ وَلَآ أَوْلَٰدُكُمْ عَن ذِكْرِ ٱللَّهِ وَمَن يَفْعَلْ ذَٰلِكَ فَأُو۟لَٰٓئِكَ هُمُ ٱلْخَٰسِرُونَO you who have believed, let not your wealth and your children divert you from remembrance of Allah. And whoever does that - then those are the losers.