Verily, those who disbelieve, if they had all that is in the earth, and as much again therewith to ransom themselves thereby from the torment on the Day of Resurrection, it would never be accepted of them. And theirs would be a painful torment.
So if a disbeliever brought the earth's fill of gold, and twice as much as that amount on the Day of Judgment to ransom himself from Allah's torment that has surrounded him, and he is certain that he will suffer from it, it will not be accepted of him. Rather, there is no escaping the torment, and he will not be able to evade or save himself from it.
Hence Allah's statement,
ولهم عذاب أليم
(And theirs would be a painful torment),
meaning, hurtful,
يريدون أن يخرجوا من النار وما هم بخارجين منها ولهم عذاب مقيم