maybe he buys the lottery because it gives him something to look forward to, even if it is false hope.
it points to something lacking in his life that makes him feel unfulfilled.
people who buy the lottery are not dumb, they're desperate to fill a hole in their life and they think a large sum of money can do it.