2 Peter 2:9

then [in light of the fact that all this is true, be sure that] the Lord knows how to rescue the godly from trial, and how to keep the unrighteous under punishment until the day of judgment,

1 Corinthians 10:13

No temptation [regardless of its source] has overtaken or enticed you that is not common to human experience [nor is any temptation unusual or beyond human resistance]; but God is faithful [to His word—He is compassionate and trustworthy], and He will not let you be tempted beyond your ability [to resist], but along with the temptation He [has in the past and is now and] will [always] provide the way out as well, so that you will be able to endure it [without yielding, and will overcome temptation with joy].

Psalm 34:15-19


The eyes of the Lord are toward the righteous [those with moral courage and spiritual integrity]
And His ears are open to their cry.

2 Peter 3:7

But by His word the present heavens and earth are being reserved for fire, being kept for the day of judgment and destruction of the ungodly people.

Job 5:19


“He will rescue you from six troubles;
Even in seven, evil will not touch you.

Job 21:30


“That evil men are [now] reserved for the day of disaster and destruction,
They will be led away on the day of [God’s] wrath?

Psalm 4:3


But know that the Lord has set apart for Himself [and dealt wonderfully with] the godly man [the one of honorable character and moral courage—the one who does right].
The Lord hears and responds when I call to Him.

Psalm 12:1

Save and help and rescue, Lord, for godly people cease to be,
For the faithful vanish from among the sons of men.

Psalm 32:6


Therefore, let everyone who is godly pray to You [for forgiveness] in a time when You [are near and] may be found;
Surely when the great waters [of trial and distressing times] overflow they will not reach [the spirit in] him.

Proverbs 16:4


The Lord has made everything for its own purpose,
Even the wicked [according to their role] for the day of evil.

Romans 2:5

But because of your callous stubbornness and unrepentant heart you are [deliberately] storing up wrath for yourself on the day of wrath when God’s righteous judgment will be revealed.

2 Corinthians 5:10-11

For we [believers will be called to account and] must all appear before the judgment seat of Christ, so that each one may be repaid for what has been done in the body, whether good or bad [that is, each will be held responsible for his actions, purposes, goals, motives—the use or misuse of his time, opportunities and abilities].

2 Timothy 3:12

Indeed, all who delight in pursuing righteousness and are determined to live godly lives in Christ Jesus will be hunted and persecuted [because of their faith].

Titus 2:14

who [willingly] gave Himself [to be crucified] on our behalf to redeem us and purchase our freedom from all wickedness, and to purify for Himself a chosen and very special people to be His own possession, who are enthusiastic for doing what is good.

Jude 1:14-15

It was about these people that Enoch, in the seventh generation from Adam, prophesied, when he said, “Look, the Lord came with myriads of His holy ones

Revelation 3:10

Because you have kept the word of My endurance [My command to persevere], I will keep you [safe] from the hour of trial, that hour which is about to come on the whole [inhabited] world, to test those who live on the earth.

2 Peter 2:4

For if God did not [even] spare angels that sinned, but threw them into hell and sent them to pits of gloom to be kept [there] for 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

Job 5:19

“He will rescue you from six troubles;
Even in seven, evil will not touch you.
Psalm 34:15

The eyes of the Lord are toward the righteous [those with moral courage and spiritual integrity]
And His ears are open to their cry.
1 Corinthians 10:13
No temptation [regardless of its source] has overtaken or enticed you that is not common to human experience [nor is any temptation unusual or beyond human resistance]; but God is faithful [to His word—He is compassionate and trustworthy], and He will not let you be tempted beyond your ability [to resist], but along with the temptation He [has in the past and is now and] will [always] provide the way out as well, so that you will be able to endure it [without yielding, and will overcome temptation with joy].

The godly

Psalm 4:3

But know that the Lord has set apart for Himself [and dealt wonderfully with] the godly man [the one of honorable character and moral courage—the one who does right].
The Lord hears and responds when I call to Him.
Psalm 12:1
Save and help and rescue, Lord, for godly people cease to be,
For the faithful vanish from among the sons of men.
Psalm 32:6

Therefore, let everyone who is godly pray to You [for forgiveness] in a time when You [are near and] may be found;
Surely when the great waters [of trial and distressing times] overflow they will not reach [the spirit in] him.
2 Timothy 3:12
Indeed, all who delight in pursuing righteousness and are determined to live godly lives in Christ Jesus will be hunted and persecuted [because of their faith].
Titus 2:14
who [willingly] gave Himself [to be crucified] on our behalf to redeem us and purchase our freedom from all wickedness, and to purify for Himself a chosen and very special people to be His own possession, who are enthusiastic for doing what is good.

Unto

2 Peter 3:7
But by His word the present heavens and earth are being reserved for fire, being kept for the day of judgment and destruction of the ungodly people.
Romans 2:5
But because of your callous stubbornness and unrepentant heart you are [deliberately] storing up wrath for yourself on the day of wrath when God’s righteous judgment will be revealed.
2 Corinthians 5:10
For we [believers will be called to account and] must all appear before the judgment seat of Christ, so that each one may be repaid for what has been done in the body, whether good or bad [that is, each will be held responsible for his actions, purposes, goals, motives—the use or misuse of his time, opportunities and abilities].

General references

1 Samuel 29:10
So now, get up early in the morning with your master’s servants who have come with you, and as soon as you are up in the morning and have light, leave.”
2 Corinthians 1:10
He rescued us from so great a threat of death, and will continue to rescue us. On Him we have set our hope. And He will again rescue us [from danger and draw us near],