Good and evil forces join battle but the triumph of good is not absolute. The Third Age of Middle-earth ends, and the age of the dominion of Men begins.
The conclusion of "The Lord of the Rings": To defeat the Dark Lord, the accursed Ring of Power has to be destroyed in the fires of Mount Doom but the way is impossibly hard and Frodo is weakening.