Not to punish per se, but to prevent them from doing more harm to the public.
Obviously fining you 5$ for stealing 100 is not gonna work.