A reference to how hard work can be outdone by luck in some instances, such as how a miner could work in the caves and a gambler could win more money than him in a casino.
person 1: Did you hear that Darragh fella won a free chicken roll last night?
person 2: Well, you know what they say, you can beat the miner, but you can't beat the gambler!