These scriptures have absolutely nothing to do with your own personal righteousness or own personal condition on earth.
1 John 3:7
Little children, let no man deceive you: he that doeth righteousness is righteous, even as He is righteous.
If I can be counted as righteous only in heaven, a man could not decieve me, for there are no deceivers in heaven.
If I do righteousness, I am counted righteous, right now on earth, growing in Christ from faith to faith and grace to grace.
Abraham was counted as righteous while on earth, because he believed.
Noah was counted as righteous while on earth, because he believed.
My faith is counted as righteousness. Faith is the substance of things not seen.
On earth I cannot see. Blessed are those that believe without seeing.
Once I am in heaven, I will see. I will need no faith, I will be with Him forever.
Romans 6
17 But God be thanked, that ye were the servants of sin, but ye have obeyed from the heart that form of doctrine which was delivered you.
18 Being then made free from sin, ye became the servants of righteousness.
18 does not say I will be free from sin, only when I get to heaven. I can be free from sin right now.
18 does not say "ye became servants of righteousness when you get to heaven."
Paul is speaking to people on earth, to yeild themselves servants to righteousness. If I do righteousness, I am counted righteous.
These texts refer to the sinless personal rightousness of Jesus Christ IMPUTED to us by faith whose righteousness justify us in the sight of God.
I am in the sight of God right now.
You are deceived if you think you are personally sinless like Adam or like Christ. (1 John: 8-10)
7 But if we walk in the light, as he is in the light, we have fellowship one with another, and the blood of Jesus Christ his Son cleanseth us from all sin. If I am cleansed, I have no sin.
8 If we say that we have no sin, we deceive ourselves, and the truth is not in us.
This refers to people that say they have no sin before they believe in Him.
9 If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.
I confessed and was forgiven, I am now cleanesed of unrighteousness, therefore am righteous.
10 If we say that we have not sinned, we make him a liar, and his word is not in us.Again, this refers to people that say they have no sin before they believe in Him.
When I repent and ask Him for forgiveness of my sins, He forgives me, and forgets.
If my sins are forgiven and forgotten, I am sinless.
You must think that God keeps a record of my sins, even after He forgave and forgot. And you say I'm deceived lol.