Some of my favorite books end with a bunch of people dying. Harry Potter and the Deathly Hallows ended that way, and Mistborn of course. It can be a nice contrast to Star Wars and the Lord of the Rings, where only one of the A-Team dies the whole time. (Obi-Wan and Borimor the Badchull)