In Ayat 99 of Surat Hijr of the Holy Qur'an (15:99), Allah Subhanahu Wa Ta'ala says:--

"And serve your Lord till the inevitable (death) comes unto you."

Thus our commitment to submit to Allah should not be a fad, a temporary emotional reaction, we should not waver despite all the highs and lows of life. The goal is to reach the end of our life in a state of total submission to our Creator.