Hmmm, we're probably the same time type of writer that thinks of a great ending but has no idea what to write in the middle. What I do there is write down what I need for that ending.
So, example: Kill the demon lord. We'll need: 1) Legendary sword, 2) magic scroll, 3) new spell, etc. To get...