Job 32:9 (ESV)

9 It is not the old who are wise, nor the aged who understand what is right.

God can give wisdom to the young, just as he can give wisdom to the old.