وَمِنَ النَّاسِ مَن يَعْبُدُ اللَّهَ عَلَىٰ حَرْفٍ ۖ فَإِنْ أَصَابَهُ خَيْرٌ اطْمَأَنَّ بِهِ ۖ وَإِنْ أَصَابَتْهُ فِتْنَةٌ انقَلَبَ عَلَىٰ وَجْهِهِ خَسِرَ الدُّنْيَا وَالْآخِرَةَ ۚ ذَٰلِكَ هُوَ الْخُسْرَانُ الْمُبِينُ (۱۱)(سورۃ الحج)
Translation
And among people is also that person who worships Allah remaining on an edge. So if some benefit reaches him (in the world), he becomes satisfied with it, and if some trial befalls him, he turns his face away (walking back towards disbelief). Such a person lost the world as well, and the Hereafter too. This is indeed the manifest loss. (Asan Tarjuma-ul-Quran)