When the punishment is too harsh the rational response is increased hostility towards the society responsible for the punishment.
People are not stupid. They know life is short, treat them like pariahs that don’t belong to your society and they will surprise you with their despise for the rules of the society that made clear they are not welcome in it.