编辑以下段落，使其更加流畅和易于阅读。


Although I studied for many hours, but I still didn't do well in the exam. It was a really difficult exam that covered a lot of material, and I just couldn't remember everything I needed to know. I hope I can do better on the next one.
Even though I studied for many hours, I didn't perform well on the difficult exam that covered a lot of material. I struggled to remember everything I needed to know. However, I'm optimistic that I'll do better on my next exam.