Thank you for your question and for reaching out. From what the scholars have understood, a person doesn't have the right to decide whether to continue living or not no matter how extreme the difficulty. For a Muslim there is only one way out of depression and that is to keep searching for a solution until something works. I know it may seem like the only solution is to end it and sometimes it may seem like an attractive option, but the guidance that all Islamic scholars will give to not take that way. In the modern world depression is more and more common, but at the same time there is a growing community of people that have found their way out of bleak depression, and others that have a relationship with depression, sometimes being ok and sometimes falling back into it. Seek out help from these communities and people who are going through the same kinds of things you are, and with Allah's help, maybe you will start to see things differently.
May you always be successful