You're likely thinking of Origen although people question whether it's true.
>Maybe that's the smart thing to do
Nietzsche, Twilight of the Idols:
"The Church combats passion by means of excision of all kinds: its practice, its “remedy,” is castration. It never inquires “how can a desire be spiritualised, beautified, deified?”—In all ages it has laid the weight of discipline in the process of extirpation (the extirpation of sensuality, pride, lust of dominion, lust of property, and revenge).—But to attack the passions at their roots, means attacking life itself at its source: the method of the Church is hostile to life."
My man Nietzsche, of reason and passion, Apollo and Dionysus. Rest in eternal restlessness of the spirit, to live and suffer the beauty.