Over the Harry Potter years, I can't find a criticism that could not also be justly applied to the Lord of the Rings.
And Rowling never pretends that evil does not exist. She also makes Harry full of flaws, like any struggling hero, conscious of his own anger, desire for vengeance, propensity for telling lies to almost anyone in authority--
What lies? Other than the types of lies that a typical teenager makes, I don’t remember any really big lies. As for desire for vengeance, he is obviously angry at Voldemort for killing his parents, but unlike Voldemort he never allows his anger to overcome him. He never once said or indicated that he desires vengeance. As for his anger, he is again angry that his parents have been killed, but it also does not consume him. He is portrayed as living a pretty happy life. We all get angry at times, as does Harry, but I’ve never read anything about him being conscious of a constant nagging anger.