Job 32:7-9 KJV

7 I said, Days should speak, and multitude of years should teach wisdom.
8 But there is a spirit in man: and the inspiration of the Almighty giveth them understanding.
9 Great men are not always wise: neither do the aged understand judgment.