给出一个包含逻辑错误的英文语句，要求GPT模型修复该错误。


包含逻辑错误的英文语句。例如：“She put the cake in the fridge to cool, but forgot to turn it on.”
"He studies all night before the exam, but still fails." The logical error is that studying all night does not guarantee passing an exam. A better way to phrase this sentence would be "He studies all night before the exam, but his hard work doesn't pay off as he fails."