NET
22 A good person leaves an inheritance for his grandchildren, but the wealth of a sinner is stored up for the righteous.
Darby
22 A good man leaveth an inheritance to his children's children; but the wealth of the sinner is laid up for the righteous [man].
KJV
22 A good [man] leaveth an inheritance to his children's children: and the wealth of the sinner [is] laid up for the just.