In reply to Eliza.

Everyone is a sinner except Christ. Sexual sins are just one category of sin. And the context here is that those who are wilfully living contrary to Scripture ought not ordained as pastors either. Also, Scripture does not permit a woman to be a pastor.