James Boswell said this quote

It matters not how a man dies, but how he lives. The act of dying is not of importance, it lasts so short a time.