Psalms 106:31

And that was accounted to him for righteousness To all generations forevermore.

Surrounding context

106:30 Then Phinehas stood up and intervened, And the plague was stopped.

106:31 And that was accounted to him for righteousness To all generations forevermore.

106:32 They angered Him also at the waters of strife, So that it went ill with Moses on account of them;

Translation and sources