> The primary purpose of a functioning judicial system is really to allow the public to sleep soundly in their beds at night
*In some countries.
In others, the primary purpose is rehabilitation so people can eventually re-join society as "better people".