Daniel 12:1hayah
"Now at that time Michael, the great prince who stands {guard} over the sons of your people, will arise. And there will be a time of distress such as never occurred since there was a nation until that time; and at that time your people, everyone who is found written in the book, will be rescued.
Daniel foresees unmatched distress, yet rescue for those written in the book.