Every parent has a big responsibility towards their children if they already have children. It's different when they are young and don't limit their gambling when they have children as a parent, you have to be good at managing finances so you don't experience financial problems. Sometimes gambling can cause problems for the family if they can't afford it manage your finances well so it's better to prioritize your children and wife and gambling is number two when we want to do it just for entertainment.
And that's the best responsible thing to do rather than gamble it all away and have your kids hate you either now or in the future.
Don't mess around with the budget that is intended for food, electric and water bills, savings, mortgage, and more. Just pay them first and if ever there's something more that will be left after payment of all that, then use that to have a little bit of fun, if gambling is your hobby then do so. As long as that money has nothing to do with the money that is meant for the family.
Sure, having kids means having responsibilities. That means a father will have to sacrifice his hobbies, his bad habits, and other stuff that he used to do back when he was still single. Luckily, I've never made that mistake just yet and I know that my kids know they are my priority and I will never gamble away money that is meant for them.