Hey, as someone who is going through depression and anxiety now as well, let me give some advice that I’m not so good at following myself either (take it for what is worth).
The whole “final test” thing really stood out to me. I think people like you and me tend to do this, and it is symptomatic of our problems. Try not to make things out to be so black and white, or so catastrophic. This is important, yes, but it is not final. Very few things are final, and very few things need to be “final.”
Try your best to fix this. But if you cannot fix it, then you try your best to dust yourself off and go to the next thing.
As someone who has had his own share of difficulties in the past few years (job woes, divorce, etc.), it is easy to dramatize things into being irrevocable, or “the end,” or the “final test.” They’re not.
From everything I have read, and from what I am trying to get to myself, I understand that part of getting out of depression and anxiety is starting to recognize that we need to live in the moment, and keep taking things as they come. You just do your best to keep trying to adjust. When I realized a divorce was going to happen, I could not imagine a world without my wife (now ex-wife). I would have used similar language about the finality of that, the unquestionable world ending nature of it, etc.
But I have now been divorced for over two years. And I am still here.
Hopefully you will come to realize that you are still here. That there were many things in the past that were going to be “final” or of earth shattering importance, and after them, you are still here. Things may not be exactly as you want them to be, but you try to take them as they come, and keep going. Try to find whatever you can in the moment, and if you can’t find happiness, just try to accept it as it is but keep going.