(Hebrews 11:7) By faith Noah, being warned by God concerning events as yet unseen, took heed and constructed an ark for the saving of his household; by this he condemned the world and became an heir of the righteousness which comes by faith.
And again, (James 2: 23) and the scripture was fulfilled which says, “Abraham believed God, and it was reckoned to him as righteousness”; and he was called the friend of God.
Like Paul I have come to the place where I count all former good deeds I had done before acknowledging God through Christ as so much dross based on various selfish motives and a total waste in terms of what may be considered the righteousness brought about by God which is lasting and is counted as “gold silver and precious stones” before the judgment seat of Christ.
(Philippians 3: 8 - 9) Indeed I count everything as loss because of the surpassing worth of knowing Christ Jesus my Lord. For his sake I have suffered the loss of all things, and count them as refuse, in order that I may gain Christ and be found in him, not having a righteousness of my own, based on law, but that which is through faith in Christ, the righteousness from God that depends on faith;
And we go on to no longer boast of ourselves but to boast in the Lord.
(Ephesians 2: 8 -9) For by grace you have been saved through faith; and this is not your own doing, it is the gift of God, not because of works, lest any man should boast