Surah Al-Hajj, Verse 11
Translation — Sahih International
And of the people is he who worships Allah on an edge. If he is touched by good, he is reassured by it; but if he is struck by trial, he turns on his face [to the other direction]. He has lost [this] world and the Hereafter. That is what is the manifest loss.
Source
Kur'an-ı Kerim, Hac Suresi 22:11
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/22-suresi-11-ayet