Well, some bad endings are not that bad. Usually, they show us some ways (maybe sad, maybe evil, maybe scary, maybe interesting?) of things. I can tell that there some good endings that can even let a plot hole on the story. (And sorry about my bad english xD)