Didn't mean to thank, but quote.
You are referring to Pascal's wager. It in itself does not prove God or it's existence, but the stacks it against the probability of finding heaven or hell against a finite loss (giving up certain things for eternity in heaven of hell shall God exist). This...