Light Yagami, the main character in the anime series "Death Note," rationalizes his actions as necessary for maintaining order in society by believing that he is creating a world free from crime and corruption. He sees himself as a savior who is purging the world of criminals and wrongdoers, ultimately creating a utopia where people can live without fear. Yagami justifies his extreme measures by convincing himself that the end justifies the means, and that his actions, though morally questionable, are necessary for the greater good of society.