then the Lord knows how to rescue the godly from trials, and to keep the unrighteous under punishment until the day of judgment,