Some argue that most casinos have betting limits that will prevent you from putting more than, say, $1000 on the table at once. But this does not matter. If you put $25 on one number on the roulette table and you get it right, you will win $875, and if you put $875 on one number and win again you will have over $30,000. Suppose you take that $30,000 and bet $1000 thirty times. The odds and payoffs are still the same. The house edge for roulette is a little higher than 5% but let's say it's 5 per cent for this example. Suppose I had $100 and I put it on the roulette table. I am expected to get back $95. However, suppose there was a betting limit of $50. I think divide by $100 into two $50 groups and then bet $50 twice. My payoff from the first bet is $47.50 (5% of $50) and my payoff from the second bet is also $47.50 as it is an identical bet. Therefore after two bets my expected payoff is 47.50*2 = $95, the same as if I had just put $100 on the table.
What this post should prove is that the lottery and the casino are similar in odds and payoffs. You are expected to lose in both games, and you will lose and win roughly the same amount. The problem is that many people view casinos are dirty places where criminals live whereas lottery tickets are often seen as family-friendly and harmless.