Maybe the hero is like classic rpg character in that he gain power (exp) from every kill and in killing the demon lord he absorbs so much power he essentially overloads and self destructs, taking the world with him. Hence the need to kill him before he become a walking nuclear chain reaction