That's a very truncated view. See the Catholic Encyclopedia's discussion here, starting at the section headed "History of Clerical Celibacy".
I know they were only a few hundred years old when celibacy for priests was being pushed....my point is that there seems to be no “word of God” Biblical reason for it...one apostle stated his views that ‘teachers’ should be celibate and if that wasn’t possible for them, they should be married...he then stated that is was his opinion and not God’s Word as he was receiving “hints” from the Holy Spirit...(way paraphrased but the bit about his opinion being the driving force behind his discussion is accurate and it is no secret they were getting divine guidance). The further they were from contact with Jesus, the more they started modifying things to suit their human sensibilities - kind of ironic that they were struggling to be more pleasing to god when the whole point of the Crucifixion was because such attempts were never going to be sufficient and those who attempted to keep to some of the “Old ways” were chastised for having fallen from grace because they missed the point too. Even as Jesus castigated the pharisees for making a grand show of their piety and claiming sole access to the ‘mystery”, man came back and reestablished the mystique of priest/teachers and today we have a Church that seems to be involved in sending out many more irrelevant messages as they cut teachings of Jesus short....ironic since the Original Teacher, wore plain robes instead of all the golden and ornate trappings ....