Actually evil never really wins. If you think about it, the time period where the Jedi are destroyed up until Anakin destroys the Sith is like our own history. The fall of the Jedi is like when Adam and Eve disobeyed. When Anakin destroys the Emperor and likewise the evil from within himself, it is like when the end will come and Satan and all evil is destroyed by means of God's Kingdom.