Can evil cause ignorance among people?

The Middle Ages was such a horrible time for this reason. Mind you yes, stupidity is bad, but this was stupidity of the most horrible kind. It was a time of profound ignorance in the world.