We should obey it if we truly love them. There are still other alternatives out there which are also fun and profitable just like gambling and I am sure some of them will be alright for our partners. For most partners, gambling with small amount has never been an issue but they will only get angry if you gamble huge because they think it will cause a problem to you later on and will possibly affect your relationships.
Some people think that by hiding their gambling habit they think they will still be able to be in the eyes of their loved ones as a hero who provides for their family and behave normally.This is dangerous as every hidden activity will once come out in the sunlight and the partner will know,when such things happen we have seen a lot of bad things happening and life turning events for the persons who were gambling and not telling their loved ones when they are found out.
It is always better to tell to the partner or if you are smart enough to just play sport bets as that does not need a lot of effort to be hiding,you place bets on your teams and then let the games run,check tomorrow the results to not give reason for any suspicion from your partner.You can never hide gambling activity though when you play slots and other games.