In the world of All Quiet on the Western Front, we are exposed to the dreams of men who endure months upon months of trench warfare. Conditions are abysmal and mass death is a frequent occurrence. This violent context shapes the soldiers' – and particularly our narrator's – concept of life and of dreams. The soldiers dream in order to keep sane and in order to stay alive. Their dreams are not elaborate, but are, rather, tied to home, family, sex, and food.
Because Paul loses his ability to dream at the end of the novel, he loses his life.
Seeking revenge on the likes of Himmelstoss and Kantorek is a dream come true for the soldiers in this novel.