Recidivism for offenders that simply serve a prison sentence as opposed to getting actual treatment is much, much higher.
I’m not sure of the exact stats in this situation, but I know domestic abusers that simply go to prison are some ~230% (give or take a couple tens, I can’t remember off the top of my head) more likely to reoffend than those who are actually treated.
Again, idk the stats for this case, but you will find that those who are simply punished rather than treated have higher recidivism rates across the board.