Proverbs 11:5 in the King James Version
The righteousness of the perfect shall direct his way: but the wicked shall fall by his own wickedness.
Context
4 Riches don’t profit in the day of wrath, but righteousness delivers from death.
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.