A religious doctrine that emphasizes a return to rigid principles is called Fundamentalism while Atheism refers to an absence of religious or spiritual belief.
Fundamentalism is a religious movement which involves strict laws related to the advocacy of sacred texts. Most of the religions followed fundamentalism.
Atheism refers to the critique of the belief in God and spiritual existence. It rejects religion and its beliefs.