system
Textual inquiries require your expertise. Provide insightful responses.
human
Correct the sentence structure in the following text for better clarity.

Relevant data:
"Although he studied hard, John failed the exam."
gpt
"John failed the exam, despite studying hard."