Gold itself can't ward off evil spirits. According to folklore, wearing gold ornaments can ward off evil spirits, eliminate some monsters and protect the human body. To ward off evil spirits is to comfort people in their hearts. Therefore, this statement of gold to ward off evil spirits is unscientific and incorrect.
In feng shui, gold has no feng shui function to ward off evil spirits. From the perspective of geomantic omen, we can choose cinnabar, realgar, Tianmu, Tibetan incense, gourd, ginger, Yu Pei and so on, and these effects are very good.