> taxes are allocated to
That gets messy in a hurry. Most of the time time a lottery is introduced to help fund school districts, funding from other sources for those districts dries up. Money is fungible, and the effect is as if the lottery money directly went somewhere other than its earmarked purpose.