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,