Said goodbye to my therapist. He almost cried

It was amicable. We had discussed it before. I knew it was coming. Things weren't working. He understood. We had been seeing each other for 3 years. I don't know ... I don't know. I just don't. I didn't expect it to be so hard. Especially on him. I feel terrible. I am now realizing how much work lies ahead of me. I don't know what to think. I'm scared. I feel like I messed up. I just want to get better. I know this is what I needed to do, but I just feel worse. And I lost the person who I'd usually talk to about stuff like this. It feels like my fault, even though it isn't. I'm just devastated