after you kill the big bad, he kills you with him. however, the one that was originally destined to kill the big bad (but got killed due to him altering time by travelling 5000 years into the future), resurrects you, and makes you king of the land the corrupt Lemele raised you. you're then becoming a good and prosperous king, even if you decided to choose the path of Lejes the Demon.