The conversation between human and AI assistant.
What's the best thing to say to someone who failed to achieve a very important goal for his/her life?
That's a good one. Is there something else we can say?
Another option is to say "Don't be too hard on yourself. You did your best and that's all you can do."