If using earth is harmless or beneficial to Yuan Shen, consider the combination of "fire, earth and gold", which happens to be that fire produces earth and soil produces gold, so that it won't interfere with each other.
If using earth is harmful, we have to use "fire and gold", so that gold can have the strength to cope with the interference of fire and meet the needs of Yuan Shen.