Its not about the elimination of anything, its about breaking the law and meting out the punishment for breaking the law.
When applied with restitution, it has a tendency to minimize the individuals desires to continue.

Going to jail for free hots and a cot isn't even close to restitution based and pretty much puts the financial penalty at the taxpayer's feet. ALL of it. So yeah, "enforcement" isn't really anything close to it.

Its like feeding and medicating a bunch of illegals who show up breaking the law.....same failure, same idea.