If a woman doesn't know that her husband is gambling, then it's already a marriage full of lies. It means she doesn't know her husband and doesn't know what he's doing.
A married friend of mine had to sell his luxury car because of gambling. When he sold the car, his wife found out he was gambling, and now they constantly fight.
Indeed, lying in a relationship, especially a marriage, can be complicated. In fact, divorce isn't limited to addiction; there are also divorces that occur outside of addiction. The common thread is the deception, whether by one or both partners. It's crucial to be open with your partner, as even the smallest lie tends to escalate.
Perhaps it's best to tell them about your gambling habit and find a solution.
Of course, your spouse should be aware that you are a gambler and this should be done in the beginning of the courtship before getting married. So that, if she is not cool with it, you can find decide to choose between her or gambling. At least, things hasn't been complicated at that time. Unlike, we you have already gotten married before she discovered by herself. Because you get addicted, she will be the one to suffer for it.