People do see winning the lottery as the only way out of poverty. People do like to gamble.
Numbers games have been around forever – long before governments moved in – to use proceeds for the public good.
To me its a voluntary tax. Relatively harmless when used in moderation-- like many vices.