"started most probably as few guidelines and close tight rules to lead lifestyle, religion has been very dominant to the mankind. possibly imposing teaching and ideas of the early starters and practitioners, religion has been and still growing in many forms that help to nourish righteousness in human life by provoking humans to avoid committing sins. "
as proposed by many religion, the basic rules emphasised in every religion are basic virtuous things that only lead to mans' goodness. in every continent, or more accurate to say, in every land we can point, different religions grown together and differs from other part of continent/land which can be explained by the difference in culture. so, The Almighty who listens to everyones prayer in the world (nearly six billion of us) do keep each individual happy and unhappy at certain times.
adversity that comes to ones life is labeled as Almighty's tests that said to be a series of test that examine the depth of your faith and spirituality. pretty controversial and i would say those are escape lines (ex. God is testing you/It is Fate) that magically cures wound hearts.
despite the way you pray or which religion you believe, every human have their portion of spiritualism embedded in their brains. Spiritual Quotient (SQ -as some prefer to refer) is a portion of our routine thinking where it can be satisfied by any religious or nonreligious views. if that portion of their brain is satisfactorily filled, then one can say they are pious, spiritual or religious.
this idea is applicable even to atheist where their god is NO-GOD and their religious rules/guidelines (or Bible) is logical, experimental and concrete thinking. when they (atheist) believe that there is no god, then they already convinced that they are pious (to religion called atheism).
as one can see atheism and non-atheistic religion as just mere guidelines to lifestyle, one can agree that all religion leads to one path - Path of Righteousness. or metaphorically can be said, same coin but different side of view.