Story: "Deux Amis" (1882) by Guy de Maupassant.
Two friends, Morissot and Sauvage, fishing in occupied Paris (Franco-Prussian War), are captured by Prussian soldiers. The officer demands the password to re-enter Paris. They refuse. The officer orders their execution.
The Climax:
The friends stand side by side. Morissot thinks of his wife; Sauvage of his. They shake hands one last time. The officer signals. They are shot dead. Their bodies are thrown in the river. The officer fries and eats their fish.
The previous answer (finding money, paranoia, delusion) describes a different story.