It turns out that when your big worries are "not being able to afford rent and food" and then "getting shot", the difference between 5 years and 20 years in jail, or the difference between a 10% likelihood or 50% likelihood that you get caught don't really factor into the decision-making process.
Yes. There is substantial evidence that increasing the severity of punishment does not reduce crime rates.