What Connotes Being "Righteous"?
Alma 5: 22-23 "...Behold, here are six onties of silver, and all these will I give thee if thou wilt deny the existence of a Supreme Being. Now Amulek said: O thou child of hell, why tempt ye me? Knowest thou that the righteous yieldeth to no such temptations ?" Words. Just say words, even if you don't believe the words you're saying, even if you know they aren't true and you can get gain, money, societal stature, have those worldly things that are available to those who rely on the arm of flesh. Evidently, if you not only believe your words of testimony, then you have placed a value on them. Apparently that value then is also recognized and accepted by Heaven and Heaven is ultimately what defines the word righteous.