Romans 2:2

2 Now we know that God’s judgment against those who do such things is based on truth.

Read Romans 2:2 Using Other Translations

But we are sure that the judgment of God is according to truth against them which commit such things.
We know that the judgment of God rightly falls on those who practice such things.
And we know that God, in his justice, will punish anyone who does such things.

What does Romans 2:2 mean?

John Gill's Exposition of the Bible
Romans 2:2

But we are sure that the judgment of God
By "the judgment of God", is not meant what is exercised on and towards men in this life, but what will follow after death; which is called judgment to come, is represented as certain, will be universal as to persons and things, and is here called "the judgment of God", in opposition to the judgment of men; and because it will be carried on by God only, who is omniscient and omnipotent, and will be definitive: this is and will be,

according to truth, against them which commit such things;
in opposition to all hypocrisy and unrighteousness: and it may design the law and light of nature by which the Gentiles, the law of Moses by which the Jews, and the Gospel of Christ by which all have enjoyed the Gospel revelation, will be judged; or the truth of their own consciences in them all: now we may be sure of this judgment; and of its being according to truth, from reason, from Scripture, and from the being and perfections of God.

California - Do Not Sell My Personal Information  California - CCPA Notice