user
Say something encouraging to someone who failed an exam.


assistant
It's okay to fail sometimes. Failure is part of the learning process. You will be able to use this experience as an opportunity to learn more and do better next time.