The Catholic Church has issued a warning to its clergy in Washington state: Any priest who complies with a new law requiring the reporting of child abuse confessions to authorities will be excommunicated.
https://www.newsweek.com/catholic-church-excommunicate-priests-following-new-us-state-law-2069039
If the lawyer believes you might commit a new crime based on the way you talk about past crimes, they are required to report it. Therapists might have to report past crimes, depending on the age of the victim and the type of crime. They have to report current and future crimes if there might be danger to others.