1 Timothy 3
Had to read 4:1 “But the Spirit explicitly says that in later times some will fall away from the faith, paying attention to deceitful spirits and doctrines of demons,...”
sigh.
1Tim 2:12
IMHO, the real issue is one of the human spirit.
God gives each believer unique spiritual gifts, not necessarily given to other believers.
The spiritual gift of pastor-teacher is recorded in Scripture as being given to men only. Women might have the ability to teach, but the spiritual gift, where God communicates with a Pastor-Teacher, in a spiritual fashion, how the best way to communicate to another believer is his duties as a pastor-teacher.
Women who seek the position, tend to be very worldly in their lusts, seeking power and control. There are excluded from consideration simply by that weakness.