Definition of righteousness.
25‘And it is righteousness for us when we guard to do all this command before יהוה our Elohim, as He has commanded us.’
Duetoronomy 6