Earlier quoted context omitted.
The state makes money from every ticket purchased. The lottery simply pays out a fixed percentage of ticket revenue. More ticket sales means more money to the state, regardless of whether those tickets, when purchased, had an expected positive or negative return.
If the ticket has an expected positive return for the buyer, then the state must be losing money.
Money came from people who played on days there wasn't one.