We do not flog criminals for one crime, but to deter future crime.By them or by their peers.
To paraphrase the British dude that was on about hanging and horse theft.
If anything, it might be a life saver, since it is faster than being jailed and will definitely leave the right marks.
Nip it...