Have you considered the following?
Rom 2:13, (For not the hearers of the law are just before God, but the doers of the law shall be justified.
It is not that the people mentioned in this verse are justified through their law-keeping; it is that they were justified first; which means that they were born again (John 3:3-6)....regenerated and renewed (Titus 3:3-7)...made into new creatures in Christ (2 Corinthians 5:17)...and therefore began to walk according to the fruit of goodness against which there is no law (Galatians 5:22-23).
They are declared righteous on their day of judgment because, while they are justified by faith, their faith had an effect on the way that they lived their lives.
Consider and take to heart the following:
You, therefore, have no excuse, you who pass judgment on another. For on whatever grounds you judge the other, you are condemning yourself, because you who pass judgment do the same things.
2And we know that God’s judgment against those who do such things is based on truth.
3So when you, O man, pass judgment on others, yet do the same things, do you think you will escape God’s judgment?
4Or do you disregard the riches of His kindness, tolerance, and patience, not realizing that God’s kindness leads you to repentance?
5But because of your hard and unrepentant heart, you are storing up wrath against yourself for the day of wrath, when God’s righteous judgment will be revealed.
6God “will repay each one according to his deeds.”
a 7To those who by perseverance in doing good seek glory, honor, and immortality, He will give eternal life.
8But for those who are self-seeking and who reject the truth and follow wickedness, there will be wrath and anger.
9There will be trouble and distress for every human being who does evil, first for the Jew, then for the Greek;
10but glory, honor, and peace for everyone who does good, first for the Jew, then for the Greek.
11For God does not show favoritism.
12All who sin apart from the law will also perish apart from the law, and all who sin under the law will be judged by the law.
13For it is not the hearers of the law who are righteous before God, but it is the doers of the law who will be declared righteous.
Indeed, when Gentiles, who do not have the law, do by nature what the law requires, they are a law to themselves, even though they do not have the law. So they show that the work of the law is written on their hearts, their consciences also bearing witness, and their thoughts either accusing or defending them on the day when
God will judge men’s secrets through Christ Jesus, as proclaimed by my gospel.