I am wondering is it haram to buy lottery? Even if your intentions are good to use the winning money in good ways?

https://www.sistani.org/english/qa/search/708/