"Giving money to the States so that they don't have to make more draconian cuts in their budgets for Medicaid and the like is an explicit purpose of the bill."
And the explicit purpose of the TARP was to cover bad mortgages. But because there were no "strings" they instead used it to buy up other banks, and pay themselves huge bonuses.