Wonderment about origins is ancient. Most religions have a Book Of Genesis. In essence, all religions hold – without explicitly saying so – that before Cosmic Birth there was a serene Void: An insubstantial Nothingness, meaninglessly majestic by any measure, perhaps a mere dot or a three-dimensional stretch that might have seemed an enormous waste to a thinking observer.
One Hindu philosopher surmised that perhaps the Divine was getting bored by this inert static Void , and wanted to have a Cosmic Play. So the Divine created the heavens and humans, globules and galaxies, and all that is in the physical world. Our earth is but a sliver of matter in this vast expanse
We humans are endowed with a fantastic mind that can create thoughts with meaning and picture. We can imagine and fantasize, count and conceptualize. We have (figuratively speaking) a heart that can love and hate, care and be callous. We can be good, and we can be bad.
Most of all, we can experience the world : not only to rejoice in its beauty, revel in smell and touch and relish delicacies, but also exclaim with awe at the wonder of the water-fall and the splendor of the skies.
We feel a sense of gratitude for this, unless we are ungracious morons. So it was that the wise and the sensitive, even the most ordinary among us, came up with ways of expressing gratitude to an Unseen, Unknown, and Unfathomable Principle that they designated as the Almighty Divinity.
Humans build places of worship for that Divine, compose psalms of praise and chants of devotion.
Religious traditions are channels for saying Thanks for our awareness of and experiences in this Universe for a brief bracket of eternity. The goal of any Book of Genesis is to remind us that our extraordinary acquaintance with and interactions in the universe had an Ultimate Origin and Cause which we should not ignore or forget.