5e. Spells that require gold

If a spell says it has a gold requirement but doesn’t say it consumes the gold, do you still need the gold? I have been told that regardless if the spell has a gold requirement, that your focus cant replace the gold as a component. Is this true?