I remember, decades ago, a movie serial "Captain Marvel,"and in Episode 1 there was a character named Shazam, an old man with a long white beard who gave the boy, Billy Batson, the powers of turning himself into a powerful (flying, no less!) man - Captain Marvel, and he do so by saying "Shazam!" out loud. The character Shazam said the word Shazam was an acronym for a variety of powers obtained by pagan gods. As I recall, the "Z" in the name meant the power came from Zeus. I don't remember any of the others.
I know Captain Marvel, the comics, lost a court case early on, and were prohibited from publishing. There were, I believe, a variety of name changes and ownership of the comics and trademark (by a different company, I think) of the name Captain Marvel, and the comics had to stop publishing for nearly a quarter century.
Today's Captain Marvel, if I understand correctly, is NOT the same Captain Marvel from decades ago, neither comics nor the old serial. The new movie, Shazam!, now in theaters, I've heard, IS based on that old original boy-magically-becomes-man Captain Marvel character, and is NOT based on the old man named Shazam in the original.
Does my memory match reality? Is the new Shazam! the same (or nearly the same) as the old Billy Batson-Captain Marvel (unlike the female Captain Marvel in a movie this year or last.)
The old original Captain Marvel was set in, IIRC, the Valley of the Tombs in Siam, where Captain Marvel defended white tomb raiders from attacks by natives. I also recall an "angry" volcano, but I forget precisely what roused the ire of the volcano.