A fellow finds himself in front of the Pearly Gates. St. Peter explains that its not so easy to get in heaven. There are some criteria before entry is allowed.
For example, was the man religious in life? Attend church? No? St. Peter told him that's bad.
Was he generous? give money to the poor...