Maybe the sum of enjoyment lottery participants get from daydreaming about winning is >= the cost of running the lottery?