A non academic situation when you did everything right but failed anyway. What lessons did you learned and how will you apply them in future

A non academic situation when you did everything right but failed anyway. What lessons did you learned and how will you apply them in future? Write this from the perpective of a student who has lived his life in India. Do not use any references to things that are specfic to USA or any other country. Also write a preview/outline while bidding.