To find something very valuable or very useful after searching or effort. This saying comes from the discovery of gold in dirt.
EXAMPLE:
After hiring and having to let go a few dead-beat employees, when he hired Judy as the Office Manager, he finally hit pay dirt.