Some people always get this wrong, not everything is relating to a spiritual issue especially gambling, it's more relating to a mental issue than something spiritual for instance you shouldn't be referring an addicted gambler to the church or spiritual home for prayers, rather such cases should be handled by a mental health practitioner, psychologist or the rightful professionals to handle the situation, your spiritual leader or teacher is just a religious leader meant to handle spiritual cases and not the right one to handle such cases, I don't know about other societies but I've seen people in my region make such errors and it needs to be addressed.
I am curious. what country are you from? Because depensing on the kind of society you live in, it makes complete sense for people to associate gambling problem with some spiritual lack of equilibrium or even with some demonical possession. Those are common misconceptions in countries which still rely on their folk system of beliefs, and even some christian majority countries where there are denominations that do not believe in the advance of science and the medical healthcare to tackle problems like those of people who are not only addicted to gambling but also addicted to substances.
Anyways, even Jesus said that the sick are supposed to seek for medical attention.