that they all might be judged who didn't believe the truth, but had pleasure in unrighteousness.
The "damned," that is, God’s judgment of the wicked, must be on those who reject the gospel because they find pleasure in unrighteousness. They could have chosen to obey the truth, but yet they willingly chose unrighteousness.