The desire for righteousness, and the hunger to have a right relationship with God, is the beginning of a walk with God. When Jesus says that those who hunger and thirst for righteousness are blessed, He is affirming that people who desire to be righteous.