2 Peter 2:9

surely, then, the Lord knows how to rescue godly people from trial and to keep wrongdoers under punishment for the day of judgment,

1 Corinthians 10:13

No temptation has taken hold of you but what is common to human nature. And God is to be trusted not to let you be tempted beyond your strength, but when temptation comes, to make a way out of it, so that you can bear up under it.

2 Peter 3:7

But by the same command the present heavens and earth are stored up for fire and are kept for the day when godless men are to be doomed and destroyed.

Romans 2:5

But in your stubbornness and impenitence of heart you are storing up wrath for yourself on the day of wrath, when the justice of God's judgments will be uncovered.

2 Corinthians 5:10-11

For we must all appear before the judgment-bar of Christ, that each may get his pay for what he has done, whether it be good or bad.

2 Timothy 3:12

Yes, indeed, everyone who wants to live a godly life as a follower of Christ Jesus will be persecuted.

Titus 2:14

who gave Himself for us to ransom us from all iniquity and purify for Himself a people to be His very own, zealous of good works.

Jude 1:14-15

It was about such men also that Enoch, the seventh generation from Adam, prophesied when he said: "See! The Lord comes with myriads of His people

Revelation 3:10

Because you have kept my message with the patient endurance that I give you, I also will keep you from the time of testing that is about to come upon the whole world, to test the inhabitants of the earth.

2 Peter 2:4

For if God did not spare angels when they sinned, but hurled them down to Tartarus and committed them to dark dungeons to await their doom,

Treasury of Scripture Knowledge

Summary

The Lord knoweth how to deliver the godly out of temptations, and to reserve the unjust unto the day of judgment to be punished:

General references

Bible References

Knoweth

1 Corinthians 10:13
No temptation has taken hold of you but what is common to human nature. And God is to be trusted not to let you be tempted beyond your strength, but when temptation comes, to make a way out of it, so that you can bear up under it.

The godly

2 Timothy 3:12
Yes, indeed, everyone who wants to live a godly life as a follower of Christ Jesus will be persecuted.
Titus 2:14
who gave Himself for us to ransom us from all iniquity and purify for Himself a people to be His very own, zealous of good works.

Unto

2 Peter 3:7
But by the same command the present heavens and earth are stored up for fire and are kept for the day when godless men are to be doomed and destroyed.
Romans 2:5
But in your stubbornness and impenitence of heart you are storing up wrath for yourself on the day of wrath, when the justice of God's judgments will be uncovered.
2 Corinthians 5:10
For we must all appear before the judgment-bar of Christ, that each may get his pay for what he has done, whether it be good or bad.

General references

2 Corinthians 1:10
He saved me from a death so horrible, and He will save me again! He it is on whom I have set my hope that He will still save me,