Job 27:17 (ESV)

17 he may pile it up, but the righteous will wear it, and the innocent will divide the silver.

All his possessions go to people who are more righteous than he.