Righteousness is not so much about being holy or perfect or even a good person.  It is about being in right relationship with God and others.  When we crave a relationship with God, we will do whatever it takes to satisfy that hunger.  We will read His word.  We will spend time with Him in prayer.  We will treat others with respect, grace, and love.  We will worship Him like we are starving for His presence.