Sometimes honesty is important but besides that, I think even though it is a mistake to gamble secretly, as long as the economic level is not affected, it will not be a source of problems because in the end, the share to be given to the spouse as a form of accountability can still be fulfilled and we can still carry out the gambling activities that we do.
The mistake that always happens is when we gamble secretly without telling this to our partner but we also have a poor level of financial management that makes us just like digging our own grave in the end.
I think for couples it's not that we want to be honest even though it's good but it's responsibility as a form of commitment and when someone does something without the knowledge of their partner is the concern about that person not being able to be responsible as said before and for me it becomes a realistic thing so maybe it would be better to be honest about everything but on the other hand financial management is also an important part when you want to do something like gambling.