If one student thinks of using ChatGPT to write their essay by giving it the assignment prompt, another student might as well. Resulting in nearly identical essays. Also you'd have to find real sources to cite to replace the bogus ones.