Sometimes things happen that are just out of your control.
It is then up to us for accepting them and controlling the situation as good as possible. Mekteb, Qadr'Allah plays also a huge part in here.
It is not easy, but the hardest lessons to learn have the best reward.