“Life, when it knows that it must cease living, will always rebel.”
Jack London wrote this in The Sea-Wolf.
Where it appears
“It’s not the nature of life to be otherwise. Life, when it knows that it must cease living, will always rebel. It cannot help itself. The Preacher found life and the works of life all a vanity and vexation, an evil thing; but death, the ceasing to be able to be vain and vexed, he found an eviler thing. Through chapter after chapter he is worried by the one event that cometh to all alike. So Omar, so I, so you, even you, for you rebelled against dying when Cooky sharpened a knife for you. You were afraid to die; the life that was in you, that composes you, that is greater than you, did not want to die.
From the public-domain edition, read it free.