编辑一段英文文本，使其更具可读性和流畅性。
下面是一段文本，需要进行编辑：

“Despite the fact that he worked hard, he failed the exam. He then decided to give up and never try again. This showed his weakness and lack of perseverance.”
Although he worked hard, he failed the exam, causing him to lose his motivation and never try again, revealing his weakness and lack of determination.