Romans 2:6-11, 6 Who will render to every man according to his deeds: 7 To them who by patient continuance in well-doing seek for glory and honour and immortality, eternal life: 8 But unto them that are contentious, and do not obey the truth, but obey unrighteousness, indignation and wrath, 9 Tribulation and anguish, upon every soul of man that doeth evil, of the Jew first, and also of the Gentile: But glory, honour, and peace, to every man that worketh good, to the Jew first, and also to the Gentile. For there is no respect of persons with God.
We must be certain in our understanding of this passage to know that, while our deeds will be judged by the Lord, even that we will be judged by our deeds, that our salvation is by grace through faith in Jesus Christ; and that not of ourselves: it is the gift of God: not of works, lest any man should boast. Ephesians 2:8-9.
It is that, if anyone is saved by grace through faith, they are made into a new creature in Christ (2 Corinthians 5:17); and that the attitude of a new creature in Christ is that he, through patient continuance in well-doing, seeks for glory and honour and immortality. The born again believer is not the kind to be contentious and/or disobedient to the truth. Eternal life belongs to those who have an eternal perspective and who fear the possibility of an eternity without Christ. Indignation and wrath, tribulation and anguish, belong to those who obey unrighteousness. To those who work good there will be glory and honour and peace.
The question arises, where is there anyone that it can be said that he works good? is it not written that all have sinned and come short of the glory of God? Apart from Christ, there is no one who does good: however, those who are in Christ are not under the law; and therefore what the law says to those who are under the law does not apply; because they are not under the law. Sin shall not have dominion over them because they are not under the law but under grace.
There is no respect of persons with God. This indicates that every man shall be judged on the basis of his works. If the works that he has done in life indicate the inner transformation that amounts to being born again (through faith alone in Jesus Christ), then he will enter in.
Now everyone has done evil; for we were all conceived in sin. Therefore will not all be raised unto the resurrection of damnation (John 5:29)? No; because for those who are in Christ, not only has their sin been forgiven/washed away, but they have been given a new heart and a new spirit (Ezekiel 36:25-27) so that from the point of being born again on, their inclination is towards good instead of their former evil practice. Note that God looks on the heart; so He considers mere anger without a cause to be as murder; and lusting after a woman to be as adultery. If you lack integrity, so that your yea is nay and/or your nay is yea; then you fall short in the area of being truthful; and God might consider you to be a liar. There are exceptions to this, as with the psychiatric system of this world, where a man is forced into med compliance so that his nay becomes yea whether he wants it to be or not. And he does not have the right to refuse it in the long run, because they will simply wait for a period of time and then come after him again.
But if we seek for glory, honour, and immortality, the result will be eternal life; because anyone who seeks immortality will eventually find the way into it; and that way is through the door, which door is Jesus Christ of Nazareth, even calling on His name in surrender and faith.