Remember, the mouth is a moist environment. Other materials either rust or wash out over time, but gold does not.
Secondly, cast gold has a coefficient of expansion that is very similar to tooth enamel. So when you’re eating ice cream and coffee, your tooth is expanding and contracting. So is the gold. It moves with the tooth. The seal doesn’t break like it can with other materials.
It just lasts longer.