I wonder what will happen.
I'm afraid that I will fail the exam.
Cheer up. Everything will work itself out.
All in good time.
Don't take it too much to heart.
Don't let it upset you.
it could have happened to anyone.
pull yourself together.
A: You're not happy today, Tom. What's the matter?
B: Well, I failed the math examination. I feel quite ashamed to tell my parents about the results.
A: I'm sorry to hear that. So far as I know, you've always been working hard.
B: Yes. I spend much time on it, but..
A: Tom, there's nothing to be ashamed of. You have done your best. You were just unlucky, you know. Cheer up! I'm sure you'll pass next time.
B: Thank you.
1.What's the matter?用来询问对方“怎么了？”，“发生什么事了？”，还可以说“What's wrong(with you)?”,“What's going on with you?”
2.fail有“使不及格”的意思。"fail the final exam"期末考试不及格；"fail the English exam"英语考试不及格。
be ashamed of...对...感到羞愧
You should be ashamed of yourself for telling such lies.
be/feel ashamed to...因惭愧而不情愿
I am ashamed to tell you that I failed the exam.
4.spend time/effort/money/ on...在某事上发时间/努力/金钱