Nobody does hard time for stealing a loaf of bread, but sure keep ranting..
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.
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).