@Moses613,
I’m sorry, but you’re wrong. It’s one of the 13 Middot. HaShem has no purpose in punishing a non-Jew who lived in the 5th century BCE and ever heard of him. Anyone who says the opposite is ignorant. Judaism is the religion of the deed, not the creed. Rambam also said that a Jew who falls and isn’t ritgheous but nevertheless tries to be is a tzaddik more so than a rabbi who studies Torah all day. the Shaar Bitachon says that Iyov suffered for different reasons, so it’s not always “measure for measure.” This is because suffering doesn’t always qualify as punishment, per se. while it is true regarding the matter of Shimshon (his eyes were removed), HaShem does NOT punish a person for what they didn’t know, and that includes atheists. After all, would HaShem dare send a Hindu (who doesn’t believe I guess what one could term “our version of the afterlife” to eternal hell simply because G-d couldn’t bother to show Himself)? Such a G-d is a monster who didn’t deserve our worship. No, I stand by my initial answer: G-d will not punish an atheist, regardless of what they believe. You should really know better. And besides, even if you could cite a source that an atheist would fall into Gehinnom, he’s be there, max, 12 months, and the whole time he’d be learning Torah. This is because mostly everyone, except for the extreme wicked, will merit a place in עולם הבא. Or else, they’re reincarnated. That’s the great thing about being Jewish, there’s no hell!
A source?
Nedarim 27a and athe Chovos Halevavos explain in Gate 5 ch.5, “And even if his appearance is bad, it is possible that the reason is because he is ignorant of his obligations to the Creator. Therefore he is more pardonable than me, because my knowledge is greater than his. For the Creator claims from a man only according to the extent of his knowledge. Therefore, I am more deserving to be considered reprehensible for my shortcomings in the Creator’s service, despite my knowledge compared, to this man whose shortcoming is due to his ignorance. He rebels against G-d due to ignorance and error, while I rebel against Him knowingly and deliberately.”