Or is it the other way around? Deities and Royalties in the archetypes.
It has been entertaining, and a little moving, to see the recent celebration put on by Britain for its queen. A love fest for a "ruler" who is nearing the end of her service- a job that has been clearly difficult, often thankless, and a bit murky. A job that has evolved interestingly over the last millenium. What used to be a truly powerful rule is now a Disney-fied sop to tradition and the enduring archetypes of social hierarchy.
For we still need social hierarchy, don't we? Communists, socialists, and anarchists have fought for centuries against it, but social hierarchy is difficult to get away from. For one thing, at least half the population has a conservative temperament that demands it. For another, hierarchies are instinctive and pervasive throughout nature as ways to organize societies, keep everyone on their toes, and to bias reproduction to the fittest members. The enlightenment brought us a new vision of human society, one based on some level of equality, with a negotiated and franchise-based meritocracy, rather than one based on nature, tooth, and claw. But we have always been skittish about true democracy. Maximalist democracies like the Occupy movement never get anywhere, because too many people have veto power, and leadership is lacking. Leadership is premised naturally on hierarchy.
Hierarchy is also highly archetypal and instinctive. Maybe these are archetypes we want to fight against, but we have them anyhow. The communists were classic cases of replacing one (presumably corrupt and antiquated) social hierarchy with another which turned out to be even more anxiously vain and vicious, for all its doublespeak about serving the masses. Just looking at higher-ranking individuals is always a pleasant and rewarding experience. That is why movies are made about the high ranking and the glamorous, more than the downtrodden. And why following the royals remains fascinating.
But that is not all! The Queen is also head of the Anglican Church, another institution that has fallen from its glory days of power. It has also suffered defections and loss of faith, amid centuries-long assaults from the enlightenment. The deity itself has gone through a long transition, from classic patriarchial king in the old testament (who killed all humanity once over for its sins), to mystic cypher in the New Testament (who demanded the death of itself in order to save the shockingly persistent sinners of humanity from its own retribution), to deistic non-entity at the height of the enlightenment, to what appears to be the current state of utter oblivion. One of the deity's major functions was to explain the nature of the world in all its wonder and weirdness, which is now quite unnecessary. We must blame ourselves for climate change, not a higher power.
While social hierarchy remains at the core of humanity, the need for deities is less clear. As a super-king, god has always functioned as the and ultimate pinnacle of the social and political system, sponsoring all the priests, cardinals, kings, pastors, and the like down the line. But if it remains stubbornly hidden from view, has lost its most significant rationales, and only peeps out from tall tales of scripture, that does not make for a functional regent at all. While the British monarchy pursues its somewhat comical, awkward performance of unmerited superintendence of state, church, and social affairs, the artist formerly known as God has vanished into nothing at all.