'Righteousness' in the Bible
And I command your judges at that time, saying, Hearkening between your brethren -- then ye have judged righteousness between a man, and his brother, and his sojourner;
and righteousness it is for us, when we observe to do all this command before Jehovah our God, as He hath commanded us.
'Thou dost not speak in thy heart (in Jehovah thy God's driving them away from before thee), saying, For my righteousness hath Jehovah brought me in to possess this land, seeing for the wickedness of these nations is Jehovah dispossessing them from thy presence;
not for thy righteousness, and for the uprightness of thy heart, art thou going in to possess their land; but for the wickedness of these nations is Jehovah thy God dispossessing them from before thee; and in order to establish the word which Jehovah hath sworn to thy fathers, to Abraham, to Isaac, and to Jacob;
and thou hast known, that not for thy righteousness is Jehovah thy God giving to thee this good land to possess it, for a people stiff of neck thou art.
Righteousness -- righteousness thou dost pursue, so that thou livest, and hast possessed the land which Jehovah thy God is giving to thee.
thou dost certainly give back to him the pledge at the going in of the sun, and he hath lain down in his own raiment, and hath blessed thee; and to thee it is righteousness before Jehovah thy God.
And he provideth the first part for himself, For there the portion of the lawgiver is covered, And he cometh with the heads of the people; The righteousness of Jehovah he hath done, And His judgments with Israel.