Personally, it is appalling to read some older works and see such blatantly misogynistic, racist, or otherwise ignorant themes. However, I don't think it is immoral to read these texts. It is important to remember that our current ideologies are conclusions reached after much trial and error. As much as it is uncomfortable to read, it is important to recognize that classic literature provides a snapshot of the ideologies/influences of the time. I would argue that it is imperative to remember how far we have come, and to view these texts for what they are and for what they could potentially propagate. That being said, there is some disgusting shit out there that I would much rather forget, but I think in a way that's important too. To be exposed to something, and to hate it so vigorously that you know you would not sit idly by were it to come into existence again, is a good thing.