That's pretty much my take on Doctor Eggman. He thinks he's saving the world by ridding it of pain, disease, etcetera. Of course, if that means he has to be the undisputed ruler of the planet in doing so... well... it's a necessary evil, you understand.