IMHO: Connection between faith and gambling is complex, with different viewpoints on how compatible they are. Many religious people gamble casually, seeing it as a harmless activity rather than a way to make money. However, gambling addiction is a serious issue that can cause major personal and financial problems. Religion can provide guidance and support to help people avoid these dangers.
If we evaluate religious law, we actually know what the gambling laws are like in religion. Most religions prohibit gambling because it is detrimental and consider that gambling is a devil's game that tries to incite us to do sinful things. But the fact is that many religious people today gamble. They don't care about their status as religious people because they want to have fun through gambling, there are many games or actions that are not permitted by religion, but most people don't consider it important and ignore it because the most important thing for them is just doing the fun they want to do.
The most important thing for them is not to become addicted to gambling because gambling addiction will destroy our lives and will slowly make us useless and troublesome people, therefore it is up to them whether they want to gamble or not, that is a clear personal right, any religion has established laws and The rules are different depending on what we respond to. Moreover, no one forces their will to gamble. The casino also only provides a place for their business.
Sometimes you have to see the perception of each religion, I have my personal belief and yes, it is based on a religion, but I know that religions have flaws and dogmas that lead to many antics, and that is what I do not like, more than all the advantage, and it is as you say, almost all religions prohibit games, but I think one of the reasons why they prohibit is because people are always going to lose or the tendency indicates that games of chance make people lose so that the casino wins, and that is something that is known, but even so we are aware of that and we still continue playing, I think religions try to protect people from these things so that they do not lose money.