In Genesis 15:6 God declares Abraham righteous, because Abraham believed on the Word of the Lord. This also applies today for any Christian that believes in Jesus Christ. If you are unsaved and unrighteous before God, it's not too late to believe on the Lord Jesus and that He died for your sins, that you can be saved and declared righteous.