Is there evidence in the Torah of people who did not believe in Hashem or any other god(s)? I am specifically inquiring of those who believed in what today would be called science or atheism/secularism. It seems that the bible refers only to believers of faith whether monotheistic or polytheistic. In other words, when did total rejection of faith and acceptance of scientific or atheistic belief exclusive of G-d or gods develop? Since it is said that Adam believed in G-d, it appears faith was part of creation. By whom and when (if ever) was faith rejected according to scripture?
On the whole, even the wicked people (or idolators) of the Bible do believe in some form of theism, even if not monotheism or the God of Israel, יקוה. To quote the Encyclopedia of the Bible and Its Reception on "Atheism":
The theoretical objection to the idea of the existence of god(s) is beyond the intellectual world of ANE [Ancient Near East] and HB/OT [Hebrew Bible/Old Testament]
Thus, the Bible doesn't speak about atheism or secularism as a widespread phenomenon or something worth warning about. Having said that, though, there do seem to be a few stray references to those 'fools' or 'wicked people' who deny the existence of any God, though some interpret this to specifically be a rejection of the God of Israel.
אָמַר נָבָל בְּלִבּוֹ אֵין אֱלֹהִים - The fool hath said in his heart: 'There is no God' (JPS translation)
and similarly Psalm 10:4, regarding the wicked
רָשָׁע- כְּגֹבַהּ אַפּוֹ בַּל-יִדְרֹשׁ; אֵין אֱלֹהִים כָּל-מְזִמּוֹתָיו - The wicked, in the pride of his countenance [saith]: 'He will not require'; all his thoughts are: 'There is no God.'
The Midrash Rabah on parsha Bereishis:
And Cain said to Hevel: "…There is no Judge and judgment and no World-to-Come and no reward for the righteous and no recompense for the wicked…