Meh, he had various sources in hogwarts that where able to challenge the views he got taught by his parents.
At a certain point something is not just the fault of the parents but also from the person in question. A victim doesn’t double down on beliefs he knows are wrong.