Where does it say that? If that's the case, wouldn't the best way to ensure that a person doesn't go to hell is to make sure they the live secluded and never know there is such a thing as religion? You can't punish someone that doesn't know right?
Where does it say that? In the Bible, you know that dusty old book of myths you don't believe in! First, start in
Hosea 4: 6, "My people are destroyed for lack of knowledge. Because you have rejected knowledge, I also will reject you from being priest for Me; Because you have forgotten the law of your God, I also will forget your children."
Next,
II Cor. 5:10; "For we must all appear before the judgement seat of Christ, that each one may receive of the things done in the body, according to what he has done, whether good or bad."
Now, for the scripture that really answers your question, "Where does it say that?" please read
Rev. 20: 11-15:
" 11. Then I saw a great white throne and Him who sat on it, from whose face the earth and the heaven fled away. And there was found no place for them. 12. And I saw the dead, small and great, standing before God, and books were opened.
And another book was opened which is the Book of Life. And the dead were judged according to their works, by the things which were written in the books. 13. The sea gave up the dead who were in it, and Death and Hades delivered up the dead who were in them. And they were judged, each one according to his works. 14. Then Death and Hades were cast into the lake of fire. This is the second death. 15. And anyone not found written in the Book of Life was cast into the lake of fire."
That, old son, is the Great White Throne Judgement.
Live in seclusion and never know there is such a thing as religion? Again, your lack of knowledge of the Bible condemns you because it says that God knows our hearts. We are his creation. In this day and age, it is impossible to claim ignorance of God. If nothing else, the unbelievers who are forever condemning Him are attesting to Him existing. I see that you are trying to follow the hard core unbelievers in their diatribe against God but, I would like to caution you, read the Bible before you so willingly give up your soul. If God did not exist, there wouldn't be any need for the naysayers to work so hard to disprove Him.