Berean Study Bible (BSB) - Psalms 106:31 >

It was credited to him as righteousness for endless generations to come.

Jewish Publication Society of America Version (JPS1917) - Psalms 106:31 >

And that was counted unto him for righteousness, unto all generations for ever.