Proverbs 13:22

NIV
New International Version

22A good person leaves an inheritance for their children’s children,
but a sinner’s wealth is stored up for the righteous.