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.
But here we are talking about gambling, so we can only assume that it's one factor that lead to the dissolution of marriage. Perhaps that old and traditional way that you will tell everything to your wife prior to marriage. Or even when your time that both of you are sharing the same home and you are the provider, you should at least be honest that you are gambling and maybe she will understand and you can sit down together to discussed.
It might be interesting if we really have this kind of situation here? Maybe a member has went to this experience? Nevertheless, it's none of our business, but but for me personally, I don't have that issue as he and my wife are both recreational gamblers.