This is reasonable advise if you're an average worker, who can be replaced by thousands of others, but if you're the only one being able to do the Job in your company, or even one of a hand full of people in your industry to do what you do, you need to change perspective a bit.
Almost two decades ago, before I became a PMC, I got hired as a Marketing Specialist for a Taiwanese computer components manufacturer that wanted to expand their core business into the high-end consumer segment.
When I started working there it was completely expected to show up to work two hours before you were contractual obliged and work overtime each day. Coming from a cultural background where you clock out when it's time and don't give a f*ck, I thought as well this was nuts.
But for my Taiwanese co-workers this wasn't an issue at all and they were happy, and so I adapted to their work culture, sometimes we slept in the office, showered and had breakfast there together.
It was a great time. We blew the competition completely out of the water because we simply outworked them and in return, besides getting casino money to spend on the weekends and other benefits, we each got the equivalent of a million dollars in local currency as a bonus by the end of the year and another one deposited as retainer with one of the best law firms in the country so we didn't really have to worry about anything.
My youngest brother got severely ill and needed experimental treatment. The company paid for it. My neighbor started acting up, doing parties all night. The company took care of it. My parents wanted to live closer to me, because my mom got sick not seeing me more than once a year. You guess it, they bought the flat next to me and had them move in for Christmas without me knowing.
That money helped me to start my own business and become independent later. My work ethics never changed. During my career I slept on floors, in bathtubs, once on a park bench, and never stopped working until the job was done.
I am sure that whoever survived at Twitter until now, is reaping these kind of benefits I know from my time grinding for a billionaire. There is nothing wrong with sleeping on the floor to meet a deadline, even regularly, if you know it's worth for whom you do it and why you do it.