Are you implying that lawyers are not as smart as doctors, or that lawyers are generally stupid? Law school is not easy, and neither is the bar exam.
I think the problem in a way goes hand in hand with the fact that most legislators - or at any rate a significant number of them - are attorneys.