Daniel 12:2 Multitudes who sleep in the dust of the earth will awake: some to olam life, others to shame and olam contempt.
The original Hebrew word for "everlasting" is correctly translated as "age lasting". Which reveals there is an age of sin and an age free of sin, an age of death and an age of life.

Daniel 12:2 - Michael's Deliverance and the End Times
And many who sleep in the dust of the earth will awake, some to everlasting life, but others to shame and everlasting contempt.
biblehub.com
עוֹלָ֔ם (‘ō·w·lām)
Noun - masculine singular
Strong's 5769:
Some will enter עוֹלָ֔ם (‘ō·w·lām) contempt and others to עוֹלָ֔ם (‘ō·w·lām) life. Some will have life for an age, and others will have death for an age. But eventually, all will have life for an age.
A good English equivalent is “eon” which means a length of time. And like ever length of time, there is a beginning and an end.
God has revealed that the age of sin will not last because everyone will believe with faith alone in Christ, and thus all people will be washed away of their sins. The Lord hates sin, which is why He desires to wash away all sin. The Lord loves everyone, which is why He desires to save everyone.
Rom. 11:36 "Of Him and through Him and to Him are ALL THINGS, to whom be glory forever. Amen"
2 Cor. 5:14 "Christ's love compels us, because we are convinced that one died for ALL, and therefore all died."