Ivan Illych has devoted his life to propriety, rising up the social ladder and having better material possessions and wealth. He is superficial and shallow, he is surrounded by the same type of people, even his family is formal and distant for the most part.
When he gets hurt, falling as he tries to hang curtains, a silly, pointless exercise, his life is changed. He becomes a prisoner of pain and his thoughts about death. He is comforted by the simple kindness of a peasant named Gerasim, who acts as his nurse. Observing this man, Ivan Illych cannot imagine why he is so content with his life.
Illych begins to see that his life is very artificial. As he lays dying, he begins to embrace the true meaning of life. He then understands his simple peasant nurse's contentment. He understands his misplaced priorities and begins to worry that he has not lived a good life.
Embracing an expanded consciousness is the only way that Ivan Illych can make peace with himself. He must examine his soul and find a way to face death. All the physical, superficial aspects of life that he has worshiped all his life, fade in the background of his accounting of the value of his life.
Spending his last days with his son and his servant, Ivan Illych is at last able to embrace death. It becomes an escape from his physical existence that no longer has value.
It is only the spirit that matters now.