Actually, even after getting married we can continue to play gambling, the most important thing is that there is good communication with our partners.
By getting married doesn't mean we can't play gambling, but maybe the percentage of the budget for playing gambling after the needs for the family have been met. Because to be honest, it's very difficult for me to leave the world of gambling, because I think gambling is part of my life. However, after getting married and having children, we must set a priority scale. Don't prioritize gambling over family.
I am married and I do gamble a bit, I can testify that as long as your partner is fine with it, you can always gamble. I do not gamble a lot, I only gamble with 5% of my salary, so that is a small amount and in times of when we lack money and there is a financial problem I stop gambling right away and wait until we are financially doing alright again. We are never rich, so if I wait for us to have extra money I would have to quit gambling forever, I only quit gambling if we basically end the month with a big loss, even if it is a tiny loss that is not important I keep gambling.
I had to stop for a few times when we had health emergency and unfortunately in our family those things happen a lot, but aside from that I always gamble and my wife doesn't mind that, I do not have much cost anyway, so she lets me do these things so that I can spend some and do not mind when she does as well.