Proverbs 13:22

New International Version - UK Bible (NIVUK)
A good person leaves an inheritance for their children’s children,
    but a sinner’s wealth is stored up for the righteous.

Read Proverbs 13:22 in other translations