In writing I've come across an idiom of my language that means:
Until you punish the offender, they will not give up offenses.
What is the English idiom for this?
Let me add some explanation to this: there is a child who is really mischievous, you make him understand but doesn't understand. He doesn't give up bad things. Now you're fed up and thus feel he should be punished so that he leaves bad things.