The book and play is about how the French legal and social systems at the time—and the lack of adequate education for the lower classes—was creating generational poverty and a growing permanent class of felons—much like the system in the US is doing today and in the very same way, 150 years later. Wikipedia Victor Hugo. It touched a government nerve at the time, and he was forced into exile for his criticisms. Dickens was inspired by him to write of the same problems in Great Britain and the eventual result was the social welfare revolution in both countries, the end of child labor and debtor prisons, among many other institutions by the end of the 19th century and the systems in place today.
“I don’t know whether it will be read by everyone, but it is meant for everyone. It addresses England as well as Spain, Italy as well as France, Germany as well as Ireland, the republics that harbour slaves as well as empires that have serfs. Social problems go beyond frontiers. Humankind’s wounds, those huge sores that litter the world, do not stop at the blue and red lines drawn on maps. Wherever men go in ignorance or despair, wherever women sell themselves for bread, wherever children lack a book to learn from or a warm hearth, Les Miserables knocks at the door and says: ‘open up, I am here for you’”.
~Victor Hugo, author, poet, dramatist; 1862