The expected utility of buying that ticket is quite poor though which is the thing that really matters for most people. You get a sense of this when you consider that the vast majority of the time you lose your initial investment. If you have any other options to get returns on your money you are going to have the opportunity cost of that to deal with too and that's what makes the lottery ticket unappealing from a utility point of view.