Proverbs 13:22

22 A good man leaves an inheritance to his children's children,  But the wealth of the sinner is stored for the righteous.