Psalm 106:31

31 and it was reckoned to him as righteousness {throughout all generations}.