Worth its weight in gold

Altered image of an old scale
The idiom worth its weight in gold means extremely valuable or useful. It dates back to ancient times when some commodities like spices were so valuable were traded for their own weight in gold.

That advice was worth its weight in gold.