I'm a deist, so I believe wherever that deity is, that created the universe, will be sufficient for me.
if we look at ancient scriptures close enough, we will see that everything from Gold to Pearls to virgins, are all what man desires here on Earth, but those ancient people that had no riches could look forward to something in the afterlife.
In my opinion, gold is just another worthless mineral on Earth, just some pennyless schmuck came along, found something shinny, and convinced everyone else that it was valuable. Gold does serve a purpose, it is the absolute best mineral for conducting electricity. If I remember my science class correctly, it holds 98% of it's electricity from origin to destination. Other minerals like copper don't do that.
So while ideas of riches were to satisfy ancient people, we are too logical for all that and must pursue science to give us real answers.