Light Yagami's obsession with eliminating criminals stems from his strong sense of justice and desire to create a world free from crime and corruption. He believes that by using the Death Note to rid the world of criminals, he can create a utopia where only those he deems worthy can exist. This belief drives him to extreme lengths in his pursuit of justice, ultimately leading to a complex and morally ambiguous character arc.