Daniel 12:1-2 Amplified Bible (AMP)

1. AND AT that time [of the end] Michael shall arise, the great [angelic] prince who defends and has charge of your [Daniel's] people. And there shall be a time of trouble, straitness, and distress such as never was since there was a nation till that time. But at that time your people shall be delivered, everyone whose name shall be found written in the Book [of God's plan for His own].

2. And many of those who sleep in the dust of the earth shall awake: some to everlasting life and some to shame and everlasting contempt and abhorrence. [John 5:29.]

Daniel 12