William Hazlitt said this quote

Prejudice is the child of ignorance.