C'mon, metmom, give me about a million breaks. You're an educated person, you know better than that.
That Catholic Church has never in its whole history taught that marriage or sex is bad. You must have the Shakers in mind --- or the Albigensians --- or Jansenism. You can look all three up, under the general category of "heresies opposed by the Catholic Church."
The Church teaches the exact opposite, which is that Marriage is a Sacrament, and sexual intercourse is a constitutive element of that Sacrament.
So while virginity ("for the Kingdom of God", as Jesus put it) is noble and honorable, marital lovemaking is inherently sacramental, and --- note this -- celibacy is not.
That's what the Catholic Church says.
The way celibacy and virginity is exalted and lauded sends the clear message that sex is wrong and bad.
There was a thread some years back about a Catholic couple who decided to live a celibate marriage, and there were many who thought that was just grand, just like the whole business about Mary’s alleged perpetual virginity.
And in a related article, about women consecrating themselves to perpetual virginity, someone posted a comment about her then being kept *pure* as if if she had married and not had sex, she would have been impure.
The sex is bad thinking is an underlying message in many ways in Catholicism.