@cer7 That is a great question. What caused you to ask this question?
One way to think about it is that the Church must evaluate each person on a case by case basis. The Levitical priesthood was based on bloodline, but then we see that even Aaron’s sons Nadab and Abihu (Lev 10:1-2) and Eli’s sons (I Samuel 12:2-36) were wicked. And when King David did not punish his son Amnon for taking advantage of his own sister, it tore the entire kingdom apart when Absalom, his brother, took revenge into his own hands and began to plot to take over the kingdom (2 Samuel 13:23-28).
Jewish men could not be teachers until they turned 30 years old. While many great preachers have started younger, I think that there is a good reason for this decision. 30 years old is long enough for the community to observe the life of an individual and determine if they are walking according to God’s statutes. At a minimum, a leader in the Church should meet the qualifications for an elder laid out by the apostle Paul.
Titus 1:5-9 - For this reason I left you in Crete, that you would set in order what remains and appoint elders in every city as I directed you, 6 namely , if any man is above reproach, the husband of one wife, having children who believe, not accused of dissipation or rebellion. 7 For the overseer must be above reproach as God’s steward, not self-willed, not quick-tempered, not addicted to wine, not pugnacious, not fond of sordid gain, 8 but hospitable, loving what is good, sensible, just, devout, self-controlled, 9 holding fast the faithful word which is in accordance with the teaching, so that he will be able both to exhort in sound doctrine and to refute those who contradict.
In summary, what I see in Scripture is that each individual must show themselves approved as God’s workman before becoming an elder or teacher. In addition, allowing those who are not faithful or capable to become leaders can tear communities apart.