It seems to me that the attitude that you have assumed in front of this problem is the best friend, unexpected things always happen in life, I believe that everything has its reason to be so it seems the end of the world for us, many times they are only tests that put us to make us stronger and grow in other aspects of life or so I see it.
As you say sometimes we think our problem is the biggest but we do not see that around us there are people in worse situations, without food, for example, or going through a great mourning, I think it all depends much on our attitude to different situations, so courage!
I'm sure you'll be able to get up again! :)