Php Philippians, chapter Epistle to the Philippians, chapter 3
I now consider all these advantages that I once supposed would help me to be worthless, and I consider everything else as well to be worthless, because I want to know Christ, to be united with him, and to be made righteous through trusting in Christ alone.
Philippians 3:7-11
Nevertheless, all such things as those, which I used to consider to be useful to me, those very things I now consider worthless, because I want to know Christ (OR, in order that I may know Christ).