As A Farewell to Arms by Ernest Hemingway is set during World War I, death and dying are omnipresent in the novel.
Catherine Barkly's fiance has died in combat, leaving Catherine single and vulnerable, opening up the possibility for the romance that develops between her and the protagonist Frederic Henry.
Next, an Italian sergeant wounded by Frederic is killed by an Italian corpsman. During the ensuing escape, several people are captured by the Germans and executed.
When Frederic and Catherine finally reach neutral Switzerland, they seem to have found an idyllic paradise, free from the deaths and dangers of the war. Unfortunately, Catherine has a difficult pregnancy, and her son is stillborn, strangled in the womb by the umbilical cord. Catherine herself ends up dying in labor as well; thus escape from the war has not provided ultimate safety from mortality.