Tolkien lived in a dark time in history, but he believed not only in having hope, but in sacrifice as a means to redemption, which is why we get such a satisfyingly bittersweet ending in the Lord of the Rings.