 Raskolnikov discerns in her the same feelings of shame and alienation that he experiences, and she becomes the first person to whom he confesses his crime.Sensing his deep unhappiness, she supports him, even though she was friends with one of the victims (Lizaveta).Throughout the novel, Sonya is an important source of moral strength and rehabilitation for Raskolnikov.