Proverbs 11:5 (ESV)

5 The righteousness of the blameless keeps his way straight, but the wicked falls by his own wickedness.

Righteousness is a mark of living a blameless life. To be blameless is not to be perfect but to live in a right way before God. To follow the path of righteous living will keep your way straight, which will enable you to walk in the right direction. But the wicked who walk in the crooked way of wickedness will fall, because their pathway is not straight.