Look carefully, introspect your life - You will understand a lot ! Life in total is the best teacher one can ask for.
But have you ever wondered, why don't be remember or recollect the happy moments ? And most of the time we remember the sad moments and hurtful statements only. !
Simple because there is no learning involved when you succeed ! Learning will be there only when it hits you hard, learning will be there when you make a mistake and if you are not learning you are not trying !
In any exam, it's completely fine to make mistakes, it hurts, pushes you into depression - And learn from your mistakes and come back ! I am sure you will.
After all isn't the same life which gave you "The wonderful family" "Amazing friends" "MBBS degree" "In near future PG seat" and the most important smile (which i can see in your face right this moment) -- It gave you all, ignore the negativity and see the positive side always !
A very Good morning :)