The assumption that a current situation is a punishment for something in the past is disgusting and antithetical to everything therapy is meant to accomplish.
Although therapists can share examples from their life that help patients see their problems from a new perspective, over-sharing and focusing too much on their own experiences is a red flag.
Therapists are supposed to listen. However, a good therapist will interject to ask probing questions, forcing patients to consider events and behaviors from different perspectives.