Proverbs 11:5-6
The righteousness of the perfect shall direct his way: but the wicked shall fall by his own wickedness. 
The righteousness of the upright shall deliver them: but transgressors shall be taken in their own naughtiness.