everyone has said and done problematic things in their lifetime. that’s a result of the society we live in, not necessarily a reflection of their character.
what is a reflection of their character is how they react to being informed of the negativity within their behavior and statements, and whether or not they choose to change their behavior.
harry potter: “albus severus, blah blah blah slytherin tootle toot fart noise you were named after the bravest man i’ve ever known”
teddy lupin: “hey uh… remember my fucking dad”
[albus arrives at hogwarts]
albus: “hello professor! did you know severus snape? my dad says he was the bravest man he ever knew”
neville longbottom: “is that fucking right”