Seems like what is needed here when it applies to a criminal act is that the guilty should be punished in such a way as to: Make the guilty remember his/her crime in such a way that they would lose all desire to ever do it again.....and also provide a VERY vivid lesson to anyone else contemplating breaking the law. I don’t think that is being done presently. There are other methods that are not being used.
In a sane country that would happen.