Job 27:16-17

27:16 If he piles up silver like dust

and stores up clothing like mounds of clay,

27:17 what he stores up a righteous man will wear,

and an innocent man will inherit his silver.

Proverbs 13:22

13:22 A benevolent person leaves an inheritance for his grandchildren,

but the wealth of a sinner is stored up for the righteous.

Proverbs 28:8

28:8 The one who increases his wealth by increasing interest

gathers it for someone who is gracious to the needy.