Proverbs 11:6 in the King James Version
The righteousness of the upright shall deliver them: but transgressors shall be taken in their own naughtiness.
Context
5 The righteousness of the blameless will direct his way, but the wicked shall fall by his own wickedness.
6 The righteousness of the upright shall deliver them, but the unfaithful will be trapped by evil desires.
7 When a wicked man dies, hope perishes, and expectation of power comes to nothing.