Definitely regret reaching out for help with my mental health

Last few weeks I have been going to therapy and recently got on antidepressants and antianxiety medication. My therapist just keep telling me about the medication, tell me to YouTube Cognitive behavioral therapy, and we never actually do anything productive in therapy. And to get the medication was an absolute nightmare. My doctor was the biggest asshole. He laughed at me. Reminded me that my current behavior will make me an awful mother. I had a panic attack when I left. And now my medication is giving me insomnia, I have no sex drive, and my antianxiety medication will give me symptoms of withdrawal if I stop taking them.

Why did I even ask for help?