Psalms 106:31

And that was counted unto him for righteousness unto all generations for evermore.