That is an impossible fantasy scenario designed specifically to frame genocide in a way doesn't make the reader hate the protagonist, who commits genocide in the end of the story.
He commits the worst possible crime, exacting the ultimate revenge, yet he is guilt free because his intentions were good.
lol
Hey, I liked the book too when I was a kid, but there is a reason why it is so popular.