Praying to God and asking for help on your problems in life would be very helpful , He would definitely guide you on how to solve your problems not literally but he shows ways but the important thing is you must help first yourself so that he could help you dont just pray without any actions done its still useless.
I am not praying to GOD to solve my problems but to give thanks in every blessing he is giving me because even if you pray hard to him if it is not sincere he would not guide you a relationship with GOD is the best answer with your problem and yes a prayer without work would be useless and if it not comes from your heart and mind,
Family is very important every time in situations involving all addictions (or person that addicted person trust most). Thats why in the case of gambling, in my opinion the best solution is to give full control over your finances to a family member or the most trusted person.
This kind of thing would not come up to a person if his already playing gambling giving his money for safe keeping I thing a gambler would not do such a thing and if he is addicted to it that kind of thinking would not process in his mind rather than betting all of his money in one swoop!