God knows how to deliver us out of temptation - 2 Peter 2:9
The Lord knoweth how to deliver the godly out of temptations, and to reserve the unjust unto the day of judgment to be punished:
God knows how to deliver the godly and to punish the ungodly. He can rescue His people from trials and at the same time, reserve the unjust for the day of judgment for their punishment.