I don't usually gamble for money, so my gambling or not doesn't depend on money.
Rather, if I wanted to have fun from gambling then I would definitely gamble. But I don't think I would have to gamble for fun after having so much money. Maybe I would have chosen some other medium for entertainment.
Since I don't have infinite money now, I can't say for sure whether I would have gambled or not. But the possibility of not gambling would have been more.