No, that is not a benefit of gambling at all. There's a possibility that that might happen to you but it's not part of the gambling itself. Besides, the amount of people losing is far greater than the amount of people actually winning. Another thing that I have to point out is that why would you need to hit the jackpot from gambling before you can apply for a job? Last time I checked, they don't require money in order to accept you. They require experience and a degree. You can be a rich person but still be not qualified to a certain job in the same sense that you can be a poor person but still be qualified for a job.
With that being removed from the list of gambling benefits, gambling is left with zero benefit.
That might be made as a joke but I have to say that it's an immature choice. You can simply man up and talk to your wife and say that you're unhappy about your marriage instead of losing money from gambling just to create something that will break your relationship apart. What will you do if she was able to tolerate your gambling? Is it really worth the money and the stress when you could have divorced in a better manner had you only manned up instead?