In any case, No, that's just superstition created to better cope with losing so much money on gambling, instead of taking accountability and blaming himself, which thereby would allow him to see his mistakes and therefore become a better person, he created a belief system that specifically takes the brunt of the burden of dealing with gambling consequences for him.
Well, this is true because it's part of the human nature to look for someone or something to blame with the action they made which does not turn on their favor. Specifically in gambling, they even come to the point just like you said, creating a belief to put the blame on that belief and make themselves more comfortable and bring back their confidence due to the negative experience they got in gambling.