I've never seen that in the Bible. You should have cited your source.
The law of priestly celibacy, adapted from pagan cults, has also had the effect of downgrading marriage, which is an honorable arrangement instituted by God himself. (Matthew 19:4-6; Genesis 2:21-24; Hebrews 13:4) This idea of cultic purity has increased the tendency to devaluate marriage and to demonize sex and has led to the demand that priests and monks observe celibacy, which has caused a centuries-long struggle within the church.
Priestly celibacy was adopted with ulterior motives, which may explain why it is being maintained. Yet it actually has benefited neither the Catholic people nor the clergy. Even the church itself has suffered, since it is generally believed that the current dearth of priests is largely due to this unscriptural law.
So if obligatory celibacy for priests originates neither with Christ nor with his apostles. Peter was married.