وَمِنَ ٱلنَّاسِ مَن يَعْبُدُ ٱللَّهَ عَلَىٰ حَرْفٍ ۖ فَإِنْ أَصَابَهُۥ خَيْرٌ ٱطْمَأَنَّ بِهِۦ ۖ وَإِنْ أَصَابَتْهُ فِتْنَةٌ ٱنقَلَبَ عَلَىٰ وَجْهِهِۦ خَسِرَ ٱلدُّنْيَا وَٱلْـَٔاخِرَةَ ۚ ذَٰلِكَ هُوَ ٱلْخُسْرَانُ ٱلْمُبِينُ
wamina l-nāsi man yaʿbudu l-laha ʿalā ḥarfin fa-in aṣābahu khayrun iṭ'ma-anna bihi wa-in aṣābathu fit'natun inqalaba ʿalā wajhihi khasira l-dun'yā wal-ākhirata dhālika huwa l-khus'rānu l-mubīnu
There are also some who serve God with unsteady faith: if something good comes their way, they are satisfied, but if they are tested, they revert to their old ways, losing both this world and the next- that is the clearest loss.
And among mankind is he who worships Allâh as it were, upon the edge (i.e. in doubt): if good befalls him, he is content therewith; but if a trial befalls him, he turns back on his face (i.e. reverts to disbelief after embracing Islâm). He loses both this world and the Hereafter. That is the evident loss.