Just look at the demographics of who plays the lottery ! Do physicans, attorneys, educators, professionals of all stripes play the lottery in signficant numbers ? Of course not ! Lottery players are the bottom soci-economic rug of society.
Sometimes, the lottery proceeds is marketed as a contribution to lift people and give them opportunities. Thus, the brand name “education” lottery.
But, approximately half of the lottery proceeds go to administration. That is more inefficient than any government I know anywhere. The remainder provides tax relief for some of the very people who should be paying more taxes, as the lottery, in reality, is a very brutal regressive tax.