He remained ill for a long time, as waves of despair swept over him, until he finally realized that he was going to die.