That was Slush, reciting his version of Pascal's Gambit.
The flaws in this thinking are many, but here's a few:
Pascal's Gambit (or wager, if you like) simplistically assumes that God assumes one relatively specific form. Actually, if God exists, there are an infinite number of forms and ways of thinking He could take, and the people employing this thinking are betting on only one. If you've bet on the Christian God, and the real one turns out to be Allah, you're in deep shit, and vice versa.
Second, Pascal's Gambit requires the simplification and ignorance of the complex conditions, variety of choices, and range of repercussions of people's choices.
Third, if your belief in God is because of Blaise Pascal's Wager, you may very well end up in hell anyway, because (according to the Christian God) you must believe in Him for the right reasons, or face eternal damnation.
There are more thorough deconstructions of this waste-of-time-philosophy that curious people will find and read. I have to feed my dog.