Now we know that God's judgment against those who do such things is based on truth. (NIV)
[But] we know that the judgment (adverse verdict, sentence) of God falls justly and in accordance with truth upon those who practice such things. (AMP)
But we are sure that the judgment of God is according to truth against them which commit such things. (KJV)