Ruining lives

I'm 17 and have had a lot of things happen recently. At the end of May, my best friend called the police on me because he knew I was suicidal and was worried about me. Long story short, they admitted to me the hospital and then transferred me to a mental hospital. When I got out of there I had to go to group therapy three times a week. Now, both at the hospital and at this new therapy I lied to get out sooner. I told them I was never suicidal and I just didn't think before I told my friend. On the inside though, I knew I still needed help. I currently go to a therapist who I opened up to. I told him about my attempts, my depression, anxiety, everything. He was the only one who knew about all of this. Throughout this whole time, my parents are in the process of adopting another baby. Obviously, the agency needed a letter from my therapist saying Ik safe to be around a new child, which I am, I would never hurt someone else. My therapist ended up including everything that happened in the letter, which my parents did not tell the agency previously. They immediately disqualified my parent's application because they did not know this. This is all because of me and they have made sure to let me know that. My parents refuse to speak to me and continue to tell me about how this was one thing they were looking foward to and how I did this on purpose. It is extremely hard for me to handle because I dont want to live the rest of my life knowing I ruined my parent's lives. Also they said that if this adoption does not go through (which it will not) they are sending me for residential treatment and I wont be able to complete my senior yest at my high school. I need help with how to handle this because honestly I'm so lost.