2 Peter 2:9

for the Lord knows how to rescue the godly out of temptations, and to keep the unrighteous unto the day of judgment enduring punishment:

1 Corinthians 10:13

No temptation has overtaken you, except that which is human: but God is faithful, who will not suffer you to be tempted above what you are able, but with the temptation, He will also make a way of escape, in order that you may be able to bear it.

2 Peter 3:7

but now the heavens and the earth have been kept according to the same word, being reserved for fire in the day of judgment and the destruction of the ungodly people.

Romans 2:5

But according to thy hardness and thy impenitent heart, thou art treasuring up to thyself wrath against the day of wrath and of the revelation of the righteous judgment of God;

2 Corinthians 5:10-11

For it behooves us all to appear before the judgment-seat of Christ, in order that each one may receive according to those things which he has done through the body, whether good or evil.

2 Timothy 3:12

But truly all wishing to live godly in Christ Jesus will suffer persecution.

Titus 2:14

who gave himself for us, that he might redeem us from all iniquity, and purify to himself a peculiar people, zealous of good works.

Jude 1:14-15

And Enoch also, the seventh from Adam, prophesied against these, saying, Behold, the Lord came with his myriads of saints,

Revelation 3:10

Because you have kept the word of my patience, and I will keep you from the hour of temptation, which is about to come upon the whole world, to try those dwelling upon the earth.

2 Peter 2:4

For if God spared not the angels who sinned, but having sent them down to hell, committed them to chains of darkness to be kept unto judgment;

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 overtaken you, except that which is human: but God is faithful, who will not suffer you to be tempted above what you are able, but with the temptation, He will also make a way of escape, in order that you may be able to bear it.

The godly

2 Timothy 3:12
But truly all wishing to live godly in Christ Jesus will suffer persecution.
Titus 2:14
who gave himself for us, that he might redeem us from all iniquity, and purify to himself a peculiar people, zealous of good works.

Unto

2 Peter 3:7
but now the heavens and the earth have been kept according to the same word, being reserved for fire in the day of judgment and the destruction of the ungodly people.
Romans 2:5
But according to thy hardness and thy impenitent heart, thou art treasuring up to thyself wrath against the day of wrath and of the revelation of the righteous judgment of God;
2 Corinthians 5:10
For it behooves us all to appear before the judgment-seat of Christ, in order that each one may receive according to those things which he has done through the body, whether good or evil.

General references

2 Corinthians 1:10
who delivered us from so great a death, and will deliver: in whom he have hope that he will also yet deliver;