There are a lot of thoughts on righteousness and what it means to be righteous and if you are righteous or not. Every religion, and every division of religion often have different ideas on this. When the Bible talks about righteousness, it doesn't mean "good works" or "holy" or any other term that seems to denote that the person is somehow good. In fact, when the Bible talks about righteousness, the word used actually means "To be put in right relationship with God". Ultimately, being righteous isn't about having anything good about you, it just means the fractured relationship between you and God has been restored. The secret is that this relationship is only restored through faith.