People who know that they are dying, especially if it happens quickly, like in a car accident where you have only minutes of life left, become very realistic. They put aside their foolish ideals of life, including the fact that God does not exist. They fear having to meet Him, because they know instinctively that they have not obeyed His laws during their lives.
You too, will one day put aside your foolish ideals of your life and realize when you meet the Great One, that you have not obeyed his laws during your life. It will be too late then.