So youre not really wrong about the catholic church forbidding priests from divulging what they learn in confession to the police, but the work around for that (that really only works for true believers) is that in order to receive divine absolution from god, part of the penance of confession is typically to turn yourself in to the authorities. If a criminal is going to Confession and is admitting crimes to a priest they on some level are probably actually bought in on the “god absolves your sins if you actually perform your penance as instructed” mythology.
So youre not really wrong about the catholic church forbidding priests from divulging what they learn in confession to the police, but the work around for that (that really only works for true believers) is that in order to receive divine absolution from god, part of the penance of confession is typically to turn yourself in to the authorities. If a criminal is going to Confession and is admitting crimes to a priest they on some level are probably actually bought in on the “god absolves your sins if you actually perform your penance as instructed” mythology.
Legality ≠ Morality. Penance is usually different for each person