7 But whatever gain I had, I counted as loss for the sake of Christ. 8 Indeed, I count everything as loss because of the surpassing worth of knowing Christ Jesus my Lord. For his sake I have suffered the loss of all things and count them as rubbish, in order that I may gain Christ 9 and be found in him, not having a righteousness of my own that comes from the law, but that which comes through faith in Christ, the righteousness from God that depends on faith— 10 that I may know him and the power of his resurrection, and may share his sufferings, becoming like him in his death, 11 that by any means possible I may attain the resurrection from the dead. 
Comparative analysis is necessary when determining the course of action that best serves to benefit the individual making the decision. On the one hand, there is option A with its benefits and on the other, option B with its own rewards. A wise person will weigh the cost of each option and select the one that reaps the greatest reward. So, Paul has considered the cost of following Christ and weighed the benefits on each side and has arrived at the conclusion of these verses. The apostle determines that his former victories and life are not worthy of comparison with the reward and benefit derived from knowing Christ.
Paul explains that he has surrendered all things to Christ. Take note the language he uses to describe this surrender, “I have suffered the loss of all things…” (v. 8). Paul does not diminish the feeling of loss or the pain of suffering. He admits that it is difficult to follow the way of Christ. Paul has suffered loss and pain in his efforts to know Christ. Indeed, a brief read through the book of Acts will illuminate Paul’s difficulty quite clearly. He has lost prestige, friends, community, wealth, and even physical well-being. Along with the suffering of loss, Paul’s opinions have been transformed and he now sees worldly gain as “rubbish,” meaning something that is revolting and worthy only to be tossed out (v. 8). These accolades that so thrill the soul of men are now viewed through the lens of Christ. They are no longer appealing but now pale in comparison to the glory of Christ. The pain of suffering loss is not diminished by the mental ascent toward the value of rubbish. Rather, the perspective of Paul is transformed to accept the truth of God’s proclamation. God’s proclamation is always greater than man’s perceptions. So, when the truth of Christ is proclaimed, the hearts of believers rejoice. This rejoicing does not negate the reality of loss. Indeed, it heightens the depth of loss and the present desperation that only can be filled with Christ.
Paul explains two purposes for his surrender and suffering. First, so that he may be covered in Christ Righteousness. Second, so that he may overcome death and be resurrected from the dead.
Paul’s hope for redemption is found in Christ’s righteousness and not in his own works. He knows that in surrendering all things, he will be found in Christ Jesus. To “be found in Him” is a rather profound and intriguing statement. He states not that he wishes to be covered by Christ or that he wishes to be standing by Christ. He says he wishes to be “in” Christ. Paul wants to know Christ to such a degree that the character of Paul and the character of Christ are indistinguishable. That he would be found in Christ, dependent on a righteousness that he could not earn. His longing to be so associated with Christ is coupled with the reality that he will be covered in the righteousness of Christ.
It is necessary to pause here for your sake, oh reader. Sin has separated humanity from God. Every individual has been found guilty (Rom 3:23). No one has been righteous on their own and will not be (Rom. 3:10-20). The consequence of this sinfulness is death and hell (Rom. 6:23a). God, in His kindness and mercy, has provided a way of salvation for anyone who will believe (Rom. 6:23b, 5:8-10). The believer must confess with their mouth and believe in their heart, then they will be spared the punishment and judgment against them (Rom. 10:9,13) Once a person has believed in Christ, then there is no condemnation against them any longer and they are free to follow Him (Romans 8).
To attain this righteousness, it must be given by God. The righteousness that Paul seeks comes from God, not works of the law or merit earned in some sort of service. This righteousness is granted through faith in Christ. All other righteousness is “filthy rags” (Isa. 64:6).
The second purpose for Paul’s surrender is resurrection. We will look more at this tomorrow.
 The Holy Bible: English Standard Version. (2016). (Php 3:3–11). Wheaton: Standard Bible Society.
 O’Brien, P. T. (1991). The Epistle to the Philippians: a commentary on the Greek text (p. 382). Grand Rapids, MI: Eerdmans.