Proverbs 13:22

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