I agree and would go further and say that executions and other extremely regressive means are even counter-productive.
If someone makes a mistake you want them to admit it, so that it can be fixed. If you say that they will be executed they will try to cover it up - hoping that it will go away.