Listen, If u are apart of an organized religion, great for you! Believe as you want. But the debate of the existence of god is not important. Whats important is the following of your religions basic principles.
For example:
In the Christian religion, The bible, rather than it being a literal "thing" (Which people believe, and that is fine), can be used to teach and learn from the ways Jesus Christ acted and such. Both good(water into wine, or most any other story) or bad (When he expels the money changers from the temple in jerusalem and caused a ruckus.)
In the islamic faith (which I am far less versed in, but understand the basics),The 5 pillars are guidelines in which one must live their life. 1. Declaration of faith 2. Prayer 3. Charity/Alms 4. Fasting 5. Pilgrimage, each of which if utilized properly, build character, and make u a good person. (1. dec of faith- "faithfulness" 2. prayer- "devotion" 3. Charity/Alms- "kindness" Etc...etc...)
Judaism; refer to christianity, regarding the bible; more specifically the old testament.
Tl;Dr/Synopsis: We, as part of our human nature, need to understand EVERYTHING. the way we do this is through the use of conceptual understanding. ( I have never seen a real/truly equal sided square; A square is a concept we understand) And because of this, religion was formed as an explanation for our existence. God is a concept to which we attribute our creation to (some of us anyway.) We are stuck with him until someone creates a new explanation that people can grip to.
Repertoire: I don't know everything, nor do I claim to.My opinions on religion are based off of my minimal learning of religion through school, and my confirmation class (The church I belong to is "different"). Regarding human nature/thinking/logic/anythign related to that, I like to think I have a reasonably large pool of knowledge on the subject. I've read numerous books on thought,logic,decision making, all sorts of psychology, sociology and other things. I have also taken courses on many of the subjects.
Disclaimer: These are my personal opinions, I grew up in a house in which my parents were apart of the United Church of Christ (protestant), I was baptized and confirmed. I'm at a point in which I am not sure where I am regarding my beliefs, and am not a "practicing" Christian.