I'm not really sure. Maybe he faced some challenges or rewards up there.
I think there could be various possibilities. Maybe the gold was used for a noble purpose in heaven, or it might have brought unexpected consequences for the man. Who knows for sure?