True, but the whole point is that the extra money generated goes to good works in the community vs hookers and blow. Buying a ticket is a tax deductible donation with a small possible upside. Almost 100% of the ticket sales are professionals and business owners etc. buying them as a donation/favor from other professionals.
Sorry, even for a charitable organization, the cost of your lottery ticket is not deductible. So says the IRS.