Both texts criticize the way of life based on wealth and false prosperity. However, in "The Death of Ivan Ilyich" the author criticizes how people focus on unimportant things, while "Notes from Underground" criticizes the fallacy of socialist politicians.
The two authors were very dedicated to understanding the society around them and pointing out the problems that were created and stimulated by the social, political, and economic behavior that this society presented.
More information about social criticism is at the link:
https://brainly.com/question/78781