According to spiritual life gold should be avoided as far as possible.
Pariksit Maharaja told Kali-yuga to leave his kingdom immediately and reside in four places: brothels, liquor shops, slaughterhouses and gambling casinos. However, Kali-yuga requested him to give him only one place where these four places are included, and Pariksit Maharaja gave him the place where gold is stored. Gold encompasses the four principles of sin, and therefore, according to spiritual life, gold should be avoided as far as possible. If there is gold, there is certainly illicit sex, meat-eating, gambling and intoxication. The color of gold is very glittering, and a materialistic person becomes very much attracted by its yellow color. However, this gold is actually a type of stool. A person with a bad liver generally passes yellow stool. The color of this stool attracts a materialistic person, just as the will-o’-the-wisp attracts one who needs heat.
Source: A.C. Bhaktivedanta Swami Prabhupada (2014 edition), “Srimad Bhagavatam”, Fifth Canto, Chapter 14 – Text 07