The decline of meritocracy makes the lottery a rational last-ditch source of hope for the impoverished working class. Without hope, they die. See: deaths of despair.
The apologists for this sort of thing are every bit as disgusting as those presiding over it.