Proverbs 11:6 KJV

6 The righteousness of the upright shall deliver them: but transgressors shall be taken in their own naughtiness.