A poorhouse was an institution for poor people. Metaphorically, to be taken to the poorhouse was to be losing money rapidly.
In 2369, Odo declared that Quark was being taken to the poorhouse by his customers, who were all winning at dabo. (DS9: "If Wishes Were Horses")