I checked before writing the last comment, and it's mentioned a few times.
Nonbelievers are punished in the afterlife.
Revelation 21:8
But the fearful, and unbelieving, and the abominable, and murderers, and whoremongers, and sorcerers, and idolaters, and all liars, shall have their part in the lake which burneth with fire and brimstone: which is the second death.
Only "born-again"/baptized enter heaven
John 3:3–5
3. Jesus answered and said unto him, Verily, verily, I say unto thee, Except a man be born again, he cannot see the kingdom of God.
4. Nicodemus saith unto him, How can a man be born when he is old? can he enter the second time into his mother's womb, and be born?
5. Jesus answered, Verily, verily, I say unto thee, Except a man be born of water and of the Spirit, he cannot enter into the kingdom of God.
and believers should not perish, but get everlasting life.
John 3:14–16
14. And as Moses lifted up the serpent in the wilderness, even so must the Son of man be lifted up:
15. That whosoever believeth in him should not perish, but have eternal life.
16. For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
As for those who do perish, that happens in hell.
Matthew 10:28
And fear not them which kill the body, but are not able to kill the soul: but rather fear him which is able to destroy both soul and body in hell.
Nonbelievers are denied entry.
Matthew 10:33
But whosoever shall deny me before men, him will I also deny before my Father which is in heaven.
This all appears in the New Testament.
The older, Jewish scriptures don't mention hell. However, Deuteronomy 13 is all about Moses instructing the Israelites to murder heretics. Moral bankruptcy.