Ahnaf bin Qais said: Sayyiduna Umar (may Allah be pleased with him) said: Acquire understanding of the religion before you become leaders.
Brief Explanation
(Commentary on Hadith 255)
That is, acquire knowledge in your youth before you grow older and are made leaders, for then you will feel ashamed to seek knowledge and will remain ignorant as you were.