Matthew Henry
When God sends destruction on the ungodly, he commands deliverance for the righteous; and, if he rain fire and brimstone on the wicked, he will cover the head of the just, and they shall be hid in the day of his anger. This we have an instance of in his preserving Lot. Here observe,
a just man; this he was as to the generally prevailing bent of his heart and through the main of his conversation. God does not account men just or unjust from one single act, but from their general course of life. And here is a just man in the midst of a most corrupt and profligate generation universally gone off from all good. He does not follow the multitude to do evil, but in a city of injustice he walks uprightly.
from day to day. Being accustomed to hear and see their wickedness did not reconcile him to it, nor abate of the horror that was occasioned by it. This is the righteous man whom God preserved from the desolating judgment that destroyed all round about him. From this instance we are taught to argue that God knows how to deliver his people and punish his enemies. It is here presupposed that the righteous must have their temptations and trials. The devil and his instruments will thrust sore at them, that they may fall; and, if we will get to heaven, it must be through many tribulations. It is therefore our duty to reckon upon and prepare for them. Observe here,
The Lord knows those that are his. He has set apart him who is godly for himself; and, if there is but one in five cities, he knows him; and where there is a greater number he cannot be ignorant of nor overlook any one of them.
out of temptation, to prevent their falling into sin and their being ruined by their troubles. And surely, if he can deliver out of temptation, he could keep from falling into it if he did not see such trials to be necessary.
reserved to the day of judgment. Here we see,
God has appointed a day wherein he will judge the world.