We dig gold out of the ground, to then, melt it into bars, and then hide it in dark vaults underground.
Mayan didn't consider it very valuable.
They used it for pots and religious tools.
It is very difficult to talk about Egyptians, because there are three groups that lived in that area, and we call them all Egyptians though there isn't much connection between them.
The middle one and the older one had tools and know how that we do not have today.
And, you are correct, we have a LOT of gold. Much more than is let known to the public.