I am trying to remember the phrase that describes a particular kind of folly - trying to "beat the house", or willingness to play a rigged game. As I recall it has the form of "a fool's errand" - that is, the game is referred to as belonging to the person who is silly enough to play it. I'd appreciate knowing the origin of the phrase, too.