is it ok for your family to know that you are gambling?
or you don't share at all and keep a secret about it?
how is your experience on telling the person you love about your gambling habits?
Surely they will scold me when they know I am actively gambling because this is not good for the judgment of neighbors and the environment.
There is absolutely no need for me to tell them about the gambling that I do. If I tell them, it will definitely be the most memorable experience with the picture that I can imagine what will happen.
Scold them for not washing dishes or cooking tasted bad

Man, if you gamble, then you are an adult already. Who would scold and adult?

Only your parents might scold you, and even then it might not have a full effect. Your wife or girlfriend only can express disappointment with your gambling habit and you two would have to work this out together. In a family, it isnt good to make ultimatums or force someone to do or not to do something. Neutral and suitable decision must be found for both of you.
P.S. Lol, I cant imagine someone scolding me for something