Crime deterrence is about stopping people from doing bad things by making sure they know they will get in trouble if they do. It's like when you know you shouldn't take a cookie without asking because you might get a time-out, so you decide not to take it.