In some religions, gambling is not allowed while other religions allow gambling. Does your religion allow gambling and is gambling linked with religion?
Based on this article from
gamblingsites.org/Recreational gambling is perfectly fine under the Buddhist philosophy. This forward way of thinking comes from how things were back in Gautama’s day.
Even habitual gambling isn’t considered a sin, per se. But Buddhism does condemn addictive gambling, just like any other major religion.
There are religions that allowed it like the Buddhist as long as you take it as a recreational and you are not addicted to it to the point that you will regret your duty in your family, work, and religions, but other religions don't allow it as it corrupt the mind of the individual into committing a sin.