Atheism has always existed, it just may have been more or less visible depending on the political climate.
Even long ago when people worshiped ideas like Thagwag the rain god[0], there were probably non believers - are we so arrogant as to assume they didn’t exist?
“Hm we pray every day, sometime rain sometime not. Maybe no Thagwag?”
[0] made up