1 John 3:7 Little children, let no man deceive you: he that doeth righteousness is righteous, even as he is righteous.
Righteousness:
What is righteousness? 1 righteous, observing divine laws. 1a in a wide sense, upright, righteous, virtuous, keeping the commands of God. 1a2 innocent, faultless, guiltless. 1a3 used of him whose way of thinking, feeling, and acting is wholly conformed to the will of God,
state of him who is as he ought to be, righteousness, the condition acceptable to God. 1a the doctrine concerning the way in which man may attain a state approved of God. 1b integrity, virtue, purity of life, rightness, correctness of thinking feeling, and acting. There is a phrase in an old spiritual song that says, “Ev’ry body talking bout goin to heaven ain’t goin” John says that the Christian will live a righteous life even as Christ lived a righteous life.
A righteous man knows he is righteous:
We know whether we are living a righteous life or not. As the definition says we can know if we are leading an upright life, virtuous and keeping God’s commands. We also know if our thought life is pleasing to God