It is natural to be disappointed due to not getting the expected results after working hard again and again, but sometimes even due to circumstances, success does not come. Do not directly blame yourself for this and assess the situation. If you stop working hard, then the percentage of success will be zero.
Instead of just looking at this side of where you were behind, look at where you did well. Average students are serious about studies and look for opportunities to advance. This positivity is what makes them successful. Students have a desire to participate in school or college activities but some students hold back because of shame and fear of defeat.
If you also have this habit, then leave it behind and socialize with the students who perform well. With this you will be able to know your shortcomings and improve yourself. In this era of competition, many times the desired opportunities in studies and jobs are not available. But do try to find the option according to your ability. Don’t get discouraged, look elsewhere and find other opportunities. Some students do very well in a particular subject and some fall behind in some. Don’t get too upset when this happens. Don’t start running after every subject except your interest.