Muslims are requested to take care of their health. As mentioned in the Ql-Quran and followed by hadith, health is important because without good health one will not be able to carry out his or her duties, for example, perform prayers, observe fasting in Ramadhan and make a pilgrimage or Hajj to Mecca.
Quran (2:195)
And make not your own hands contribute to (your) own destruction (harm).
The Prophet (PBUH) said: “There are two blessings which many people do not appreciate: Health and leisure.”
Go for work-life balance. Don’t exert yourself and moderation in whatever you do is necessity.