Lower level church officers, such as deacons, were to be faithful married brethren, usually older...
For the church's real leaders, Paul made it very clear that they ought to be single as he was, and Timothy also was, and was so urgent about this that both the Roman and Greek churches have felt that all clergy or those over a certain level, must be totally unmarried and thus [unless they are swearing falsely before God]...celibate.
Such logic! Peter, the rock, the patron of the RCC, the Bishop of Rome was (ahem) married.