That's why you only use the UA to attract other civs' trade routes. The gold isn't so great (though it's hardly insignificant- I frequently produce 100-200 GPT via trades in the mid to late stages), it's the science.
All you should care about is the beakers. You can either get it through internal food routes (although a lot of people like these, I don't think they're worth it in most cases) if you don't have good trade partners, or from more advanced civs. Everyone that says Morocco's UA is worthless has argued it based on the GPT/CPT. Completely misses the point of the UA- your trade partners benefit from your UA. Why did Firaxis do this? Because Morocco is meant to be played diplomatically via trade.
All you should care about is the beakers. You can either get it through internal food routes (although a lot of people like these, I don't think they're worth it in most cases) if you don't have good trade partners, or from more advanced civs. Everyone that says Morocco's UA is worthless has argued it based on the GPT/CPT. Completely misses the point of the UA- your trade partners benefit from your UA. Why did Firaxis do this? Because Morocco is meant to be played diplomatically via trade.