Hit pay dirt

To discover something of value.

The men hit pay dirt when they discovered oil in the farmer’s field.