If it bothered you that much, I definitely think you should speak with him. Politely tell why you had a problem with what he was saying. I'm appalled that he said that. I believe a teacher should be as objective as possible when teaching and teach information without letting their own biases and personal opinions interfere. One of my favorite teachers from high school would never give us his personal opinion on certain issues even though we constantly badgered him for it. He said it was his job to teach the information and up to us to draw our own opinions and conclusions from it.