Being righteous means you are now dedicated to His Will because you are free from the serpent seed. It means you repent and surrender that serpent seed and promise that from now on, His Will is going to be done in your life and you will start following the footsteps of the Appointed Son.
Righteousness in the sight of the Father is being free of the serpent seed. You cannot do that without repentance, without you committing to surrender your will to Him, by saying “Father, from now on not my will but Your will be done upon my life.”
“If ye know that he is righteous, ye know that every one that doeth righteousness is born of him.“1 John 2:29
Whosoever doeth not righteousness is not of God.
“He that committeth sin is of the devil; for the devil sinneth from the beginning. For this purpose the Son of God was manifested, that he might destroy the works of the devil.“
“Whosoever is born of God doth not commit sin; for his seed remaineth in him: and he cannot sin, because he is born of God.“
“In this the children of God are manifest, and the children of the devil: whosoever doeth not righteousness is not of God, neither he that loveth not his brother.“1 John 3:8-10