Light Yagami rationalizes his actions by believing that he is using his intelligence and power to create a world free of crime and corruption. He sees himself as a savior who is eliminating criminals and making the world a safer place for law-abiding citizens. He justifies his extreme actions by convincing himself that the end justifies the means, and that sacrificing a few lives for the greater good is necessary for achieving his vision of a perfect society.