Sounds to me like they were expressing their own self-doubt, and perhaps helplessness at not being able to make your situation better. It sounds like quite an unskilled and lacking in self-awareness kind of thing to say. Sounds almost like they were seeking either reassurance from you, or confirmation of their fears. I would discuss this with the therapist and tell them how you felt about it. hopefully they will take this away to supervision or therapy or whatever and reflect on how they manage their own feelings in the room.
Sorry to hear about your loved one.