Yah. Like that.
Civilizations/cultures throughout time and the world have had a “central deity” that they “created” because they couldn't explain the things that happened to them any other way. A lot of these even had a “trinity” of sorts, with a major god or goddess, and two minor gods/goddesses with differing roles, but part of the major idea.
Not unlike today, though I have to think of Islam, and it being more of a political/cultural movement than a “religion.” Some "religions" are "mandatory" and others are not. We are fortunate to live in a place where we are free to choose.
That's a popular narrative, but I have yet to see any evidence of it. People are pretty comfortable with knowing there are things we don't understand. I don't think this is something that has changed through the ages. And if that were the reason people "invented" their gods, they sure did a lousy job of it since they mostly invented gods they didn't understand.
Cultural identity often gets tied up in a common mythology/psychology. It provides a “link” between people that might not otherwise exist.
Are we still free to choose? I’d say that while trying to modify our government to protect certain aspects of Judeo-Christian tenets, we have given our Enemies the very tools to now infringe on that religious freedom.
Islam is a cancerous cultural meme. It poisons and kills anywhere it takes hold. As such, it is less a “religion” and more a virulent psychopathy. My Ancestors had the recipe to the cure for such cultural insanity: You attack us, we burn your entire village/city down and kill every living thing. Within one generation, they came to fear the ships with the square sails whenever they came over the horizon.
Again, this argues Theology. Ants putting labels on Gods. We get lost in the minutia and forget that we are trying to pay homage to, or curry favor from, beings that are completely beyond our understanding.