Given our vast prison population, perhaps it's not such an effective deterrent.
As a simple example, I’ve heard a lot of people of all ages comment that the bankers would repeat the kinds of crimes they committed during the mortgage bubble because they made more profits than they were fined. Jail time is far more plausibly a deterrent in those cases.