Job 32:8-9

Leeser(i) 8 But it is the spirit in man, and the breath of the Almighty which giveth them understanding. 9 Not those rich in years must be always wise: neither do the aged constantly understand what is just.