There is no such thing as infinite money. I think what you really mean is a couple of mils. And yes I would still gamble if I had $2m or even more. Tbh the amount is not that important anymore once you go above a certain wealth level as everything seems to be free.
Since I play to have fun, whether I got $100k or $500 million in my savings account doesn’t make a difference. I would still play.
People who play to make money might give you a different insight though.