Who said the breaking of the heart was a bad thing? For it allows the oceans of divine love to flow to it.
but only if you accept the gift
At the end of the day everything will be alright, you will complete your studies, or perhaps study further, you will get that job you always wanted, you will get that wish you always hoped and prayed for. But in the meantime live life and remember Allah, because with His help and guidance nothing is impossible.