Sure the judge is smart.
The court officers - bailiffs, too.
Far and away the smartest is the jury - a group of 12 from all backgrounds and experiences acting as 1.
With all of those years, diversity, and life experiences listening to the evidence, and the lawyers, and the judge's instructions, the jury is very likely to make the right decision.
Our Founding Fathers were very wise to set up Trial by Jury.