Psalms 106:31

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