Steal a loaf of bread, do hard time. Steal $5 here and there millions of times over from unsuspecting customers with completely made-up junk fees, and it's an FTC fine...after years of haggling in court. The magic of indirection!
Jean Valjean is a character in a novel, not a real person, and is about as relevant to this discussion as a Wookiee from the planet Kashyyyk.
A.k.a Eugène Vidocq
Nowadays Taliban do hands amputation as punishment for stealing(not sure about stealing bread, though).
The historical element is more relevant. In the UK (and perhaps the US) in 1723 it was made illegal to hunt a rabbit - punishable by death.