Correct any grammar mistakes in the following text:
If a weak punishment for a crime rather than criminals will commit more crimes.
If only a weak punishment for a crime rather than is delivered, criminals will commit more crimes.