Who was the smartest man in the Bible?

Abraham. He knew a Lot.