Homework should be optional. Students shouldnt feel the need to resort to stuff like ChatGPT to do assignments for them or cheat at stuff thats supposed to be reinforcing class material. If you know the material, skip the HW. If you dont, you should probably be doing it.