We worship god because of the fear of unknown and to understand this properly we need to travel back to the time of the start of human race i.e time of the ancient men. When they were at the stage of evolving to be the modern man we know today, they started succumbing to the things they fear, they bow down to fire,lightning, thunderstorm,volcanic eruptions and other such natural phenomenon whenever they were frightened by these things. With growth of civilizations men started worshiping other things which help them to sustain in this world like rain, some cattle and food they grew, it was unknown how these gods acquired name or got a face, perhaps those who guided them in difficult times became faces and names of those god as the civilization progressed. Thus gods were invented out of fear of the unknown.
Now lets examine the scientific perspective. Science call god as 'Nature'. Nature which is the unexplainable and unknown power, the things which occurs on their own which don't have any scientific explanation like ,What initiated the formation of planets and stars? How life comes to earth ? Who gives life ? What happens after death? These and other such questions give way to the emergence of God as Nature in science and again notice it is the one which is unknown who became the creator.
Some wise people would have thought in their times that there must be something which should restrict and limit the human race otherwise those who were powerful would make it difficult for weak to survive in the world that's when the concept of god emerged. We do good things to elevate self to heaven after death, bad people goes to hell which is a bad place with demons where they boil you in hot oils for your bad deeds. You have to, you must be good to others, to those who are weaker than you, to those who are less privileged than you and we all do this to go to heaven,
We need not to fear any god if we are good to humans to humanity. Our souls must be rest in peace when we are alive for what we do in our lives and not necessarily in the so called life after death. If there is God somewhere around HE is in us, His most precious creation and we must respect his creation to appease him. Still after so much discussions and proofs that god is our creation I must insist on believing in Him because that keeps our hopes alive in the difficult times.