I just wanted to say how sorry I am that this happened and lend my support. I've heard the saying that a good therapist works their way out of a job but I've never heard anything like this. I can see why you're upset. If my therapist (who I'm attached to) said this to me I'd breakdown to.
At your next visit why not ask specifically what he means? I hope you start feeling better soon. Best wishes.