According to Jewish law, lottery tickets are permissible, because they're not the losses of another person. Nevertheless, purchasing lottery tickets isn't 100% congruent with the spirit of emuna.
If a person does desire to purchase a lottery ticket, he or she should purchase a single ticket only; if Hashem wants them to win the lottery prize, He'll arrange that their ticket bears the winning number. One who purchases multiple lottery tickets show that he or she trusts statistics or enhanced chances, and not in Hashem.
(Rabbi Shalom Arush)