Ah, yes, the ending where the invincible Superman uses his gigabrain to singlehandedly save humanity, end death itself, get the girl (and turn her into an immortal magical unicorn princess (yes, really, this story is dumb)), vanquish a dozen Wizard Hitlers at once, and tear apart entire stars for their raw resources shows that he paid the price for his earlier arrogance.
I have read the story in its entirety. Don't ask me why. The fact that our Lord and Savior holds the idiot ball on occasion does not make him realistically flawed. The fact that Voldemort would have realistically been exposed within thirty seconds makes the story dumber, not smarter.
Also, you ignored the question I actually asked: where does Harry realize that it is wrong to steamroll everyone he thinks is stupid?