My life experience shows that not everything that happens in your life should be told to someone. There are things of a personal nature, and if you don’t want to talk about them, then that’s your own business. But there are some cases when you cannot remain silent about your passion for gambling, if, for example, a person gets married, then his spouse should know about such things, over time he will find out anyway, because God makes everything secret obvious, and this is a serious issue that can affect the entire family's well-being
Yes, I also told this to my wife even that is secret detail. Like gambling, I always told him if I like sit on the chair and play gambling even I have a free time to do that. Because when we don't tell in what our habit, I am pretty sure in the future we will have face a problem when one of us doesn't understand it. Being open to each other is a key to strengthen marriage. So when you have lost, and don't have the money to eat something, your wife will probably understand it, and doesn't require you to work harder.