Write a letter to your friend consoling him on big failure
My dear (Name),
I was shocked to read about your failure in your letter. The contents of your letter made me sad. I could never believe it.
Dear Arun, you should not take your failure to heart. Failures are the foundations of success. You should continue working hard. You should not look back except to learn a lesson from your past experience. You did your best last time and you should not give up hope. What is gone is gone forever. Thinking about your failure all the time will dishearten you. Think of the present alone. I hope you will put in your best and do well next year.
The news, in fact, came to me as a great surprise I could not even dream of it. What can I convey to you except my heartfelt sympathies and a bit of advice not to give up hope? Work more resolutely.
With best wishes.