Further, your position that righteousness has nothing to do with one's actions but rather the other way around I do not believe to be Biblical. The Bible ties one's righteousness to one's actions...
Judges 5:11 Far from the noise of the archers, among the watering places,There they shall recount the righteous acts of the LORD, The righteous acts for His villagers in Israel; Then the people of the LORD shall go down to the gates.
1 Samuel 12:7 Now therefore, stand still, that I may reason with you before the LORD concerning all the righteous acts of the LORD which He did to you and your fathers:
1 Kings 8:32 then hear in heaven, and act, and judge Your servants, condemning the wicked, bringing his way on his head, and justifying the righteous by giving him according to his righteousness.
2 Chronicles 6:23 then hear from heaven, and act, and judge Your servants, bringing retribution on the wicked by bringing his way on his own head, and justifying the righteous by giving him according to his righteousness.
Psalm 7:8 The LORD shall judge the peoples;Judge me, O LORD, according to my righteousness, And according to my integrity within me.
Ezekiel 7:3 Now the end has come upon you, And I will send My anger against you; I will judge you according to your ways, And I will repay you for all your abominations.
Ezekiel 36:19 So I scattered them among the nations, and they were dispersed throughout the countries; I judged them according to their ways and their deeds.