Money has to be based on something connected to reality (as opposed to gold); best would be to base it on some typical basket of the goods and services which your country actually produces.
Gold is a store of wealth (the labor needed to mine, refine, smelt) and not a consumable, but not necessarily the best basis for trade (portability and availability), which is what currency must also be. So we have our dollar, which is based on the future labor of the nation (also called debt, but that really isn't a true representation). Works pretty well.
Gold is reality. Deal with it.