Celibacy is preferred to the married state because married men are very concerned with the world, pleasing their wives and providing for their families. Men with holy orders can to be focused only on God. This dates back to apostolic times. Something like if you do not have a wife, don’t look for one.