It is reported that Sufyān Al-Thawrī – Allāh have mercy on him – said:

Whoever takes leadership quickly (too early) will harm a lot of [his] knowledge (will not learn what he needs); and whoever does not take leadership can continue to seek knowledge until he reaches [where he needs to be].

Al-Dārimī, Al-Sunan #554.