In the long run, Link defeats both of those Ghirahim and Demise, and seals the stays in the demon king in the Master Sword. But just before becoming sealed, Demise casts a fatal curse and warns him that his hatred will probably be reborn to be a being to pursue domination of the planet, in addition to those with the blood on the goddess and spirit