In defense of our legal system, the law that is developed in courts and legislatures quite regularly reflects the wisdom of the average citizen.  When it does not, we should be skeptical.