The reason states started running lotteries was actually to deny business to the mob. Mafia used to run the numbers games right alongside the protection racket. Revenue was mostly a side effect of a law and order decision.
I can't say I understand how anyone would be more or less upset about taxes due to the fact that lottery money goes to schools.