Capital punishments affects people's minds, also makes people think thrice before committing a possible crime. If the capital punishments aren't given, no example would be created that could insert fear into people's hearts, resulting in crimes often.