The righteousness of the upright shall deliver them, but transgressors shall be imprisoned in their own sin.