If you are assigning, say, a reading and then asking students to analyze it...well, ChatGPT hasn't done the reading, so if it can get a good grade, then a student could also get a good mark without having done the reading. That's a bad assignment!