In The Death of Ivan Ilych, Tolstoy uses death to explore the question of what makes for a happy life. Ivan Ilych, the main character, has lived his whole life with the aim of enjoying himself: winning power at work, spending money, buying things to impress his friends, throwing parties, and playing bridge (his favorite thing of all). He seeks only what is pleasant, and deliberately avoids whatever is unpleasant. All of his friends are basically the same way. Yet once Ivan falls ill and is faced with the prospect of dying, almost all of his old joys lose their charm. His suffering brings him to recognize that his whole life has actually been a very unhappy one, though he didn't know it. But then what does happiness mean?
Before his illness, Ivan Ilych believes happiness is the same as pleasantness.
Ivan Ilych's childhood is the only happy part of his life because it is the only point at which he had any real connections to other people.