The therapist can break confidentiality if you are a danger to yourself or others. But the therapist would not tell a bunch of unrelated stuff you have shared with her in therapy, such as working on relationships with friends, grieving a friend's death, or whatever things you work on. The break in confidentiality would be related to the danger to self/suicide risk.