What about raffle tickets?
I don't think raffling is the same. Raffles are usually done in support of charities or other causes, so a person knows that when they give a dollar or two they may not win the prize, but their money is going to support a good cause. In a raffle, you know going in that you are supporting a good cause with the possibility of wining a prize.
In gambling, it is the love of money, the desire to hit the jackpot, and you are lured into continuing to spend all you have for the chance to get rich. In a raffle, there isn't the ongoing temptations associated with gambling.
I can agree with you here, but buying lottery tickets isn't always gambling, in the same way that having a glass of wine is not the same as getting drunk.
I'm pretty desperate for money at the moment but even so, I rarely buy lottery tickets. I'm just not a gambler, never have been. I have a number of sins and vices but thankfully gambling has never been one of them. For others however, temptation and greed may cause them to gamble. It can also become an addiction.
In principle, there is nothing wrong with buying lottery tickets, it's the reason you buy them which may be a problem. If you control it, and it doesn't control you, then it should be fine.
As we are reminded by 2nd Peter 2:19:
A man is a slave to whatever has mastered him.
I would love to have a jackpot winning lottery ticket, but I don't see buying lottery tickets as a way of getting out of my problems. It's a waste of money, hopelessly optimistic and I'll only win if God wants me to win.
I'll only buy a lottery ticket when I have money to spare - it's just a bit of fun.