Light Yagami rationalizes his actions in the name of justice and righteousness by believing that he is eliminating criminals and creating a safer world for the innocent by using the Death Note to rid the world of evil. He sees himself as a vigilante working towards a greater good, even if it involves extreme measures such as taking lives. His strong sense of justice and desire to create a utopia free of crime justify his actions in his own eyes.