It all depends on the situation...
If you work online every day, without weekends and holidays, for 5-6 years in a row, it's exhausting and you want to leave everything.
But if you work without exhaustion, take breaks, take vacations, and periodically engage in physical activity, then it's fine.